diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C02cond.ztst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 2e640f568..a0e6ed442 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -19,6 +19,8 @@ chmod u+s modish chmod +t modish + touch unmodish + chmod 000 unmodish %test [[ -a zerolength && ! -a nonexistent ]] @@ -68,11 +70,7 @@ [[ -p pipe && ! -p zerolength ]] 0:-p cond - touch unmodish - chmod 000 unmodish [[ -r zerolength && ! -r unmodish ]] - # This works around a bug in rm -f in some versions of Cygwin - chmod 644 unmodish 0:-r cond [[ -s nonzerolength && ! -s zerolength ]] @@ -151,3 +149,7 @@ [ `echo 0` -lt `echo 1` ] 0:substituion in `[' builtin + +%clean + # This works around a bug in rm -f in some versions of Cygwin + chmod 644 unmodish |