mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-04 17:18:45 +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 .
|
||||
$fish -c 'echo 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
|
||||
cd $oldpwd
|
||||
|
|
Loading…
Reference in a new issue