tests/checks/complete: Do $PWD stuff in the tempdir

This broke the tests on my machine, and doing

```fish
cd $dir
cd -
```

seems wrong in any case.
This commit is contained in:
Fabian Homborg 2021-08-30 17:07:11 +02:00
parent c02cc110e0
commit aa17ed51ce

View file

@ -403,7 +403,6 @@ rm -r $dir
set -l dir (mktemp -d)
cd $dir
cd -
: >command-not-in-path
chmod +x command-not-in-path
@ -426,4 +425,5 @@ begin
# CHECK: custom-completions
end
cd -
rm -r $dir