summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/expansion/arith5.0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/expansion/arith5.0')
-rw-r--r--tools/regression/bin/sh/expansion/arith5.017
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/regression/bin/sh/expansion/arith5.0 b/tools/regression/bin/sh/expansion/arith5.0
deleted file mode 100644
index d0f2331..0000000
--- a/tools/regression/bin/sh/expansion/arith5.0
+++ /dev/null
@@ -1,17 +0,0 @@
-# $FreeBSD$
-
-failures=0
-
-check() {
- if [ "$2" != "$3" ]; then
- failures=$((failures+1))
- echo "For $1, expected $3 actual $2"
- fi
-}
-
-unset a
-check '$((1+${a:-$((7+2))}))' "$((1+${a:-$((7+2))}))" 10
-check '$((1+${a:=$((2+2))}))' "$((1+${a:=$((2+2))}))" 5
-check '$a' "$a" 4
-
-exit $((failures != 0))
OpenPOWER on IntegriCloud