diff options
Diffstat (limited to 'tests/chmod/umask-x.sh')
-rwxr-xr-x | tests/chmod/umask-x.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/chmod/umask-x.sh b/tests/chmod/umask-x.sh index 9e0e0012..f31452a3 100755 --- a/tests/chmod/umask-x.sh +++ b/tests/chmod/umask-x.sh @@ -1,7 +1,7 @@ #!/bin/sh # Test that chmod -x file reports an error if the result is executable. -# Copyright (C) 2005-2014 Free Software Foundation, Inc. +# Copyright (C) 2005-2015 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,6 +21,6 @@ print_ver_ chmod touch file chmod 755 file -(umask 77 && chmod -x file) 2>/dev/null && fail=1 +(umask 77 && returns_ 1 chmod -x file) 2>/dev/null || fail=1 Exit $fail |