mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Ignore unreadable cwd error harder
Should fix the tests on macOS.
This commit is contained in:
parent
f053cd27c6
commit
0d2c11249e
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ set -l tmpdir (mktemp -d)
|
|||
set -l fish (builtin realpath $fish)
|
||||
cd $tmpdir
|
||||
chmod 000 .
|
||||
$fish -c 'echo Look Ma! No crashing!'
|
||||
# There's an error, but we don't really care about the specific one.
|
||||
$fish -c 'echo Look Ma! No crashing!' 2>/dev/null
|
||||
#CHECK: Look Ma! No crashing!
|
||||
#CHECKERR: {{.*}}
|
||||
|
||||
# Careful here, Solaris' rm tests if the directory is in $PWD, so we need to cd back
|
||||
cd $oldpwd
|
||||
|
|
Loading…
Reference in a new issue