about summary refs log tree commit diff
path: root/Test/A02alias.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-03-03 17:26:03 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-03-03 17:26:03 +0000
commit8e25f4449f75fa46ed130a8dc0a20b3744eb61eb (patch)
tree6b445e99cf41c59c4c72c75162d380ae100187fc /Test/A02alias.ztst
parent919f7b12ad4cd6e4b6745e7ea647b9bf0e58c70c (diff)
downloadzsh-8e25f4449f75fa46ed130a8dc0a20b3744eb61eb.tar.gz
zsh-8e25f4449f75fa46ed130a8dc0a20b3744eb61eb.tar.xz
zsh-8e25f4449f75fa46ed130a8dc0a20b3744eb61eb.zip
26675: add POSIX_ALIASES option
Diffstat (limited to 'Test/A02alias.ztst')
-rw-r--r--Test/A02alias.ztst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst
index 0c2a464c9..231e13771 100644
--- a/Test/A02alias.ztst
+++ b/Test/A02alias.ztst
@@ -25,3 +25,14 @@
   \bar \bar
 0:Aliasing with a backslash
 >bar
+
+  (alias '!=echo This command has the argument'
+  eval 'print Without
+  ! true'
+  setopt posixaliases
+  eval 'print With
+  ! true')
+1:POSIX_ALIASES option
+>Without
+>This command has the argument true
+>With