diff options
Diffstat (limited to 'tests/mkdir/special-1.sh')
-rwxr-xr-x | tests/mkdir/special-1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mkdir/special-1.sh b/tests/mkdir/special-1.sh index 94b6f8c34..a6ba642f8 100755 --- a/tests/mkdir/special-1.sh +++ b/tests/mkdir/special-1.sh @@ -36,7 +36,7 @@ rmdir $tmp || fail=1 tmp2=$tmp/sub # This should fail. -mkdir -m$set_mode_string $tmp2 2> /dev/null && fail=1 +returns_ 1 mkdir -m$set_mode_string $tmp2 2> /dev/null || fail=1 # Now test the --parents option. mkdir --parents -m$set_mode_string $tmp2 || fail=1 |