summary refs log tree commit diff
path: root/bin/1sh/tests/expansion/arith15.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/tests/expansion/arith15.0')
-rw-r--r--bin/1sh/tests/expansion/arith15.020
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/1sh/tests/expansion/arith15.0 b/bin/1sh/tests/expansion/arith15.0
deleted file mode 100644
index f9897908..00000000
--- a/bin/1sh/tests/expansion/arith15.0
+++ /dev/null
@@ -1,20 +0,0 @@
-# $FreeBSD: releng/12.1/bin/sh/tests/expansion/arith15.0 345117 2019-03-13 21:53:10Z jilles $
-
-failures=0
-
-check() {
-	if [ $(($1)) != $2 ]; then
-		failures=$((failures+1))
-		echo "For $1, expected $2 actual $(($1))"
-	fi
-}
-
-XXX=-9223372036854775808
-check "XXX"		-9223372036854775808
-check "XXX - 1" 	9223372036854775807
-check "$XXX - 1"	9223372036854775807
-check "$XXX - 2"	9223372036854775806
-check "0x8000000000000000 == 0x7fffffffffffffff" \
-			0
-
-exit $((failures != 0))