diff options
Diffstat (limited to 'tests/touch')
-rwxr-xr-x | tests/touch/no-create-missing | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/touch/no-create-missing b/tests/touch/no-create-missing index 3f3452ebd..cf6b6dc6a 100755 --- a/tests/touch/no-create-missing +++ b/tests/touch/no-create-missing @@ -46,8 +46,8 @@ touch -ca no-file > /dev/null 2>&1 || fail=1 # If >&- works, test "touch -c -" etc. # >&- apparently does not work in HP-UX 11.23. # This test is ineffective unless /dev/stdout also works. -if "$pwd"/../../src/test -w /dev/stdout >/dev/null && - "$pwd"/../../src/test ! -w /dev/stdout >&-; then +if "$pwd/../../src/test" -w /dev/stdout >/dev/null && + "$pwd/../../src/test" ! -w /dev/stdout >&-; then touch -c - >&- 2> /dev/null || fail=1 touch -cm - >&- 2> /dev/null || fail=1 touch -ca - >&- 2> /dev/null || fail=1 |