mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Let test for unreadable cwd work on macos
It has a different error. We don't care, we expect an error.
This commit is contained in:
parent
ceba851d44
commit
7c879ed356
@ -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…
x
Reference in New Issue
Block a user