summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/eval3.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/builtins/eval3.09
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/eval3.0 b/bin/1sh/tests/builtins/eval3.0
new file mode 100644
index 00000000..d9da6bc1
--- /dev/null
+++ b/bin/1sh/tests/builtins/eval3.0
@@ -0,0 +1,9 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/builtins/eval3.0 196607 2009-08-27 22:23:23Z jilles $
+
+eval 'false;' && exit 1
+eval 'true;' || exit 1
+eval 'false;
+' && exit 1
+eval 'true;
+' || exit 1
+exit 0