summaryrefslogtreecommitdiff
path: root/bin/ksh/tests/alias.t
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-25 19:02:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-25 19:02:48 +0000
commitf7502f1aee86c9a3ebb4d6814e47a52727bc2d42 (patch)
tree0bd2bbab7d507d7dab286df7970c0101a3cb1807 /bin/ksh/tests/alias.t
parentcc7df4d09ccd66ffca19799a357c049e1b5bf030 (diff)
pdksh-5.2.13 + local changes
Diffstat (limited to 'bin/ksh/tests/alias.t')
-rw-r--r--bin/ksh/tests/alias.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/ksh/tests/alias.t b/bin/ksh/tests/alias.t
index 0db6a2594cd..511744b59c1 100644
--- a/bin/ksh/tests/alias.t
+++ b/bin/ksh/tests/alias.t
@@ -89,3 +89,24 @@ expected-stdout:
is z
---
+name: alias-8
+description:
+ Check that newlines in an alias don't cause the command to be lost.
+stdin:
+ alias foo='
+
+
+ echo hi
+
+
+
+ echo there
+
+
+ '
+ foo
+expected-stdout:
+ hi
+ there
+---
+