summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-06-19 14:04:43 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-06-19 14:04:43 +0000
commitaabf5b48198ee88ddf118a86f68f0349b9399f3b (patch)
treefd12001ee767f7127bbbd58a5070f37c544b5149 /bin
parent59bcb42831352320ead1207b58c638290a6b4f6b (diff)
Add test for syn.c revision 1.29
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/tests/obsd-regress.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/ksh/tests/obsd-regress.t b/bin/ksh/tests/obsd-regress.t
index be58ea2a002..9338a0f4564 100644
--- a/bin/ksh/tests/obsd-regress.t
+++ b/bin/ksh/tests/obsd-regress.t
@@ -1,4 +1,4 @@
-# $OpenBSD: obsd-regress.t,v 1.3 2013/06/16 12:17:20 millert Exp $
+# $OpenBSD: obsd-regress.t,v 1.4 2013/06/19 14:04:42 millert Exp $
#
# ksh regression tests from OpenBSD
@@ -256,3 +256,10 @@ expected-stdout:
---
+name: empty-for-list
+description:
+ A for list which expands to zero items should not execute the body.
+stdin:
+ set foo bar baz ; for out in ; do echo $out ; done
+
+---