summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/execution/redir6.0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/execution/redir6.0')
-rw-r--r--tools/regression/bin/sh/execution/redir6.021
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/regression/bin/sh/execution/redir6.0 b/tools/regression/bin/sh/execution/redir6.0
deleted file mode 100644
index 4e3ac0c..0000000
--- a/tools/regression/bin/sh/execution/redir6.0
+++ /dev/null
@@ -1,21 +0,0 @@
-# $FreeBSD$
-
-failures=0
-
-check() {
- if [ "$2" != "$3" ]; then
- echo "Failure at $1" >&2
- failures=$((failures + 1))
- fi
-}
-
-check $LINENO "$(trap "echo bye" EXIT; : >/dev/null)" bye
-check $LINENO "$(trap "echo bye" EXIT; { :; } >/dev/null)" bye
-check $LINENO "$(trap "echo bye" EXIT; (:) >/dev/null)" bye
-check $LINENO "$(trap "echo bye" EXIT; (: >/dev/null))" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; : >/dev/null')" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; { :; } >/dev/null')" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; (:) >/dev/null')" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; (: >/dev/null)')" bye
-
-exit $((failures > 0))
OpenPOWER on IntegriCloud