summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2009-08-27 22:23:23 +0000
committerjilles <jilles@FreeBSD.org>2009-08-27 22:23:23 +0000
commit6473998f11e5e4f47e9e3c20102502ea24a70fc7 (patch)
treea9b47aea8c73f94f8c29a57ec8a856fa7a1fa7ce /tools/regression/bin
parentd36ba1e7a40b9ad7b54467c26eb8b6be1780c2d1 (diff)
downloadFreeBSD-src-6473998f11e5e4f47e9e3c20102502ea24a70fc7.zip
FreeBSD-src-6473998f11e5e4f47e9e3c20102502ea24a70fc7.tar.gz
Add some tests for a fixed bug in an uncommitted patch.
(Trying to get syntax errors for sh -c ':; do' and `:; do`.)
Diffstat (limited to 'tools/regression/bin')
-rw-r--r--tools/regression/bin/sh/builtins/eval3.09
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/eval3.0 b/tools/regression/bin/sh/builtins/eval3.0
new file mode 100644
index 0000000..dfb8357
--- /dev/null
+++ b/tools/regression/bin/sh/builtins/eval3.0
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+eval 'false;' && exit 1
+eval 'true;' || exit 1
+eval 'false;
+' && exit 1
+eval 'true;
+' || exit 1
+exit 0
OpenPOWER on IntegriCloud