diff --git a/tests/checks/directory-redirect.fish b/tests/checks/directory-redirect.fish index 003bb7666..b3219b6fb 100644 --- a/tests/checks/directory-redirect.fish +++ b/tests/checks/directory-redirect.fish @@ -3,7 +3,7 @@ begin end >. status -b; and echo "status -b returned true after bad redirect on a begin block" # Note that we sometimes get fancy quotation marks here, so let's match three characters -#CHECKERR: fish: An error occurred while redirecting file {{...}} +#CHECKERR: warning: An error occurred while redirecting file {{...}} #CHECKERR: {{open: Is a directory|open: Invalid argument}} echo $status #CHECK: 1 diff --git a/tests/test_exec_fail.err b/tests/test_exec_fail.err index 6a3453fce..e2c8dd99f 100644 --- a/tests/test_exec_fail.err +++ b/tests/test_exec_fail.err @@ -1,4 +1,4 @@ - fish: An error occurred while redirecting file 'nosuchfile' +warning: An error occurred while redirecting file 'nosuchfile' open: No such file or directory - fish: An error occurred while redirecting file 'nosuchfile' +warning: An error occurred while redirecting file 'nosuchfile' open: No such file or directory