about summary refs log tree commit diff
path: root/Test/A02alias.ztst
diff options
context:
space:
mode:
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