mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-06 18:18:51 +00:00
Let test for unreadable cwd work on macos
It has a different error. We don't care, we expect an error.
(cherry picked from commit 7c879ed356
)
This commit is contained in:
parent
118f5e4485
commit
0d18fec890
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ cd $tmpdir
|
||||||
chmod 000 .
|
chmod 000 .
|
||||||
$fish -c 'echo Look Ma! No crashing!'
|
$fish -c 'echo Look Ma! No crashing!'
|
||||||
#CHECK: Look Ma! No crashing!
|
#CHECK: Look Ma! No crashing!
|
||||||
#CHECKERR: Unable to open the current working directory: Permission denied
|
#CHECKERR: {{.*}}
|
||||||
|
|
||||||
# Careful here, Solaris' rm tests if the directory is in $PWD, so we need to cd back
|
# Careful here, Solaris' rm tests if the directory is in $PWD, so we need to cd back
|
||||||
cd $oldpwd
|
cd $oldpwd
|
||||||
|
|
Loading…
Reference in a new issue