From 0d18fec8900dca7ad0ea0f65478bf04c61ebfd1a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 14 Feb 2020 18:34:07 +0100 Subject: [PATCH] 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 7c879ed3568238f06e0f3e90692aaf56c442df3e) --- tests/checks/init-unreadable-cwd.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/init-unreadable-cwd.fish b/tests/checks/init-unreadable-cwd.fish index fee220847..b1701724a 100644 --- a/tests/checks/init-unreadable-cwd.fish +++ b/tests/checks/init-unreadable-cwd.fish @@ -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