diff options
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/bin/sh/builtins/eval1.0 | 9 | ||||
-rw-r--r-- | tools/regression/bin/sh/set-e/eval1.0 | 3 | ||||
-rw-r--r-- | tools/regression/bin/sh/set-e/eval2.1 | 4 | ||||
-rw-r--r-- | tools/regression/bin/sh/set-e/not2.0 | 1 |
4 files changed, 17 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/eval1.0 b/tools/regression/bin/sh/builtins/eval1.0 new file mode 100644 index 0000000..04606a4 --- /dev/null +++ b/tools/regression/bin/sh/builtins/eval1.0 @@ -0,0 +1,9 @@ +# $FreeBSD$ +set -e + +eval +eval "" "" +eval "true" +! eval "false + +" diff --git a/tools/regression/bin/sh/set-e/eval1.0 b/tools/regression/bin/sh/set-e/eval1.0 new file mode 100644 index 0000000..9b7f67b --- /dev/null +++ b/tools/regression/bin/sh/set-e/eval1.0 @@ -0,0 +1,3 @@ +# $FreeBSD$ +set -e +eval false || true diff --git a/tools/regression/bin/sh/set-e/eval2.1 b/tools/regression/bin/sh/set-e/eval2.1 new file mode 100644 index 0000000..8bb7f3a --- /dev/null +++ b/tools/regression/bin/sh/set-e/eval2.1 @@ -0,0 +1,4 @@ +# $FreeBSD$ +set -e +eval false +exit 0 diff --git a/tools/regression/bin/sh/set-e/not2.0 b/tools/regression/bin/sh/set-e/not2.0 index 59b9c1c..7d93b4d 100644 --- a/tools/regression/bin/sh/set-e/not2.0 +++ b/tools/regression/bin/sh/set-e/not2.0 @@ -1,3 +1,4 @@ # $FreeBSD$ set -e ! false +! eval false |