summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-18 20:47:57 +0000
committerJim Meyering <jim@meyering.net>2001-08-18 20:47:57 +0000
commit74c1d7d5f4e06d40fe3af7287819cdc2619c17d1 (patch)
tree15db2f65e50de3e0239d4de4c4f9d442c5d6f0ec /tests
parentdd08ddd29dcac7737b61e816e0d1a4a11a46c0ac (diff)
downloadcoreutils-74c1d7d5f4e06d40fe3af7287819cdc2619c17d1.tar.xz
00: new test
Diffstat (limited to 'tests')
-rwxr-xr-xtests/expr/basic3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/expr/basic b/tests/expr/basic
index 699e10ac2..ac23e4504 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'}],