mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user