summary refs log tree commit diff
path: root/bin/cash/tests/builtins/eval3.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/builtins/eval3.0')
-rw-r--r--bin/cash/tests/builtins/eval3.09
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/cash/tests/builtins/eval3.0 b/bin/cash/tests/builtins/eval3.0
new file mode 100644
index 00000000..89b5398a
--- /dev/null
+++ b/bin/cash/tests/builtins/eval3.0
@@ -0,0 +1,9 @@
+# $FreeBSD: releng/12.0/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