diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-26 23:02:34 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-09-26 23:02:34 +0000 |
commit | 4b2dd7730a3b771c6509aedd34fdbdb0f699d501 (patch) | |
tree | 17b9b02aa9e1b096238d45dd47eb241bfe3c2032 /tests/touch/read-only | |
parent | 2f897e72580eb68526972caf3ef815c5be50daba (diff) | |
download | coreutils-4b2dd7730a3b771c6509aedd34fdbdb0f699d501.tar.xz |
Test "touch -" too.
Diffstat (limited to 'tests/touch/read-only')
-rwxr-xr-x | tests/touch/read-only | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/touch/read-only b/tests/touch/read-only index 109ab00b1..11516d3c8 100755 --- a/tests/touch/read-only +++ b/tests/touch/read-only @@ -29,4 +29,6 @@ fail=0 touch read-only || fail=1 +touch - 1< read-only 2> /dev/null && { test ! -f - || fail=1; } + (exit $fail); exit $fail |