about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-05-24 03:06:24 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-05-24 03:06:24 +0000
commita71ca57c0feb42ada003b3fd1a5bb1bdfde9635d (patch)
tree73ea60a6bacdc16fb90aed2f52136d6b583050fb
parentf73dc99e08bc47a8885145065a09922845d1ba4a (diff)
downloadzsh-a71ca57c0feb42ada003b3fd1a5bb1bdfde9635d.tar.gz
zsh-a71ca57c0feb42ada003b3fd1a5bb1bdfde9635d.tar.xz
zsh-a71ca57c0feb42ada003b3fd1a5bb1bdfde9635d.zip
I guess I was supposed to commit 14411.
-rw-r--r--ChangeLog5
-rw-r--r--Test/C02cond.ztst10
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 563304b3f..bf32794e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,11 @@
 
 	* 14416: Completion/Base/Core/_tags: include + options for tag order
 
+2001-05-21  Bart Schaefer  <schaefer@zsh.org>
+
+	* 14411: Test/C02cond.ztst: Move chmod from 14408 into the %clean
+	section so the right exit status is tested in the unmodish test.
+
 2001-05-21  Clint Adams  <clint@zsh.org>
 
 	* unposted: Completion/Unix/Type/_diff_options: quote $@
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