From 4b2dd7730a3b771c6509aedd34fdbdb0f699d501 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 26 Sep 2005 23:02:34 +0000 Subject: Test "touch -" too. --- tests/touch/read-only | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/touch/read-only') 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 -- cgit v1.2.3-54-g00ecf