svn commit: r344902 - head/bin/sh/tests/expansion

Jilles Tjoelker jilles at FreeBSD.org
Thu Mar 7 22:52:00 UTC 2019


Author: jilles
Date: Thu Mar  7 22:51:58 2019
New Revision: 344902
URL: https://svnweb.freebsd.org/changeset/base/344902

Log:
  sh/tests: Improve failure messages of expansion/arith15.0

Modified:
  head/bin/sh/tests/expansion/arith15.0

Modified: head/bin/sh/tests/expansion/arith15.0
==============================================================================
--- head/bin/sh/tests/expansion/arith15.0	Thu Mar  7 22:34:45 2019	(r344901)
+++ head/bin/sh/tests/expansion/arith15.0	Thu Mar  7 22:51:58 2019	(r344902)
@@ -12,9 +12,9 @@ check() {
 XXX=-9223372036854775808
 check "XXX"		-9223372036854775808
 check "XXX - 1" 	9223372036854775807
-check $(($XXX - 1))	9223372036854775807
-check $(($XXX - 2))	9223372036854775806
-check $((0x8000000000000000 == 0x7fffffffffffffff)) \
+check "$XXX - 1"	9223372036854775807
+check "$XXX - 2"	9223372036854775806
+check "0x8000000000000000 == 0x7fffffffffffffff" \
 			0
 
 exit $((failures != 0))


More information about the svn-src-head mailing list