summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/touch/no-rights3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/touch/no-rights b/tests/touch/no-rights
index ba22382ba..facc7acd2 100755
--- a/tests/touch/no-rights
+++ b/tests/touch/no-rights
@@ -29,6 +29,9 @@ touch -c $t1 || fail=1
set x `ls -t $t1 $t2`
test "$*" = "x $t1 $t2" || fail=1
+# Also test the combination of --no-create and -a.
+touch -a --no-create $t1 || fail=1
+
rm -f $t1 $t2
exit $fail