]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
00: new test
authorJim Meyering <jim@meyering.net>
Sat, 18 Aug 2001 20:47:57 +0000 (20:47 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 18 Aug 2001 20:47:57 +0000 (20:47 +0000)
tests/expr/basic

index 699e10ac21045ab5b2165522e463bebaca4b7ca0..ac23e45044555587dd40737746e3a4a9f8554e49 100755 (executable)
@@ -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'}],