summaryrefslogtreecommitdiff
path: root/regress/bin/ksh/syntax.t
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2013-12-02 20:39:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2013-12-02 20:39:45 +0000
commit2a26ce9ea5b80d9055e3946f67b84fd150c36a06 (patch)
tree66c9dccda90c3ac66d8eff01e454a39f278e4499 /regress/bin/ksh/syntax.t
parent2c6277523018639ba331d79d69d8db2fc5c2af92 (diff)
Move ksh test files into regress.
Diffstat (limited to 'regress/bin/ksh/syntax.t')
-rw-r--r--regress/bin/ksh/syntax.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/bin/ksh/syntax.t b/regress/bin/ksh/syntax.t
new file mode 100644
index 00000000000..3fe2c819706
--- /dev/null
+++ b/regress/bin/ksh/syntax.t
@@ -0,0 +1,10 @@
+name: syntax-1
+description:
+ Check that lone ampersand is a syntax error
+stdin:
+ &
+expected-exit: e != 0
+expected-stderr-pattern:
+ /syntax error/
+---
+