about summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-05-18 18:07:13 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-05-18 18:07:13 +0000
commit7a616bd5383f5a0ffc6a46ff5105c37978641e59 (patch)
tree7d51a0ec447f3fe19c6bb504d2d25c3bfdff28e9 /Test/E01options.ztst
parent774e0bf3a78cff139d51c936aa7d30713fa54c92 (diff)
downloadzsh-7a616bd5383f5a0ffc6a46ff5105c37978641e59.tar.gz
zsh-7a616bd5383f5a0ffc6a46ff5105c37978641e59.tar.xz
zsh-7a616bd5383f5a0ffc6a46ff5105c37978641e59.zip
More options tests: finished properly this time
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 9af1c6a5c..cb5ca4f27 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -553,6 +553,7 @@
   cat <in1 <in2
   setopt multios
   print Test message >foo1 >foo2
+  sleep 1   # damn, race in multios
   print foo1: $(<foo1)
   print foo2: $(<foo2)
   cat <in1 <in2
@@ -575,7 +576,11 @@
 >with nonomatch: flooble*
 ?ZTST_execchunk:2: no matches found: flooble*
 
-# NULL_GLOB should override NOMATCH...
+# NULL_GLOB should override NONOMATCH...
   setopt nullglob nomatch
-  unsetopt nullglob
-  unsetopt nomatch
+  print frooble* tmp*
+  unsetopt nullglob nomatch
+  print frooble* tmp*
+0:NULL_GLOB option
+>tmpcd tmpfile1 tmpfile2
+>frooble* tmpcd tmpfile1 tmpfile2