Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2019 22:51:59 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344902 - head/bin/sh/tests/expansion
Message-ID:  <201903072251.x27MpxT5026059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903072251.x27MpxT5026059>