From: Jim Meyering Date: Sat, 18 Aug 2001 20:47:57 +0000 (+0000) Subject: 00: new test X-Git-Tag: TEXTUTILS-2_0_15~360 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=74c1d7d5f4e06d40fe3af7287819cdc2619c17d1;p=thirdparty%2Fcoreutils.git 00: new test --- diff --git a/tests/expr/basic b/tests/expr/basic index 699e10ac21..ac23e45044 100755 --- a/tests/expr/basic +++ b/tests/expr/basic @@ -32,6 +32,9 @@ my @Tests = ['d', '100 / 6', {OUT => '16'}], ['e', '100 % 6', {OUT => '4'}], + # Before 2.0.12, this would output `1'. + ['00', '00 \< 0!', {OUT => '0'}, {EXIT => 1}], + # This evoked a syntax error diagnostic before 2.0.12. ['minus2', '-- 2 + 2', {OUT => '4'}],