diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-18 20:47:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-18 20:47:57 +0000 |
commit | 74c1d7d5f4e06d40fe3af7287819cdc2619c17d1 (patch) | |
tree | 15db2f65e50de3e0239d4de4c4f9d442c5d6f0ec /tests | |
parent | dd08ddd29dcac7737b61e816e0d1a4a11a46c0ac (diff) | |
download | coreutils-74c1d7d5f4e06d40fe3af7287819cdc2619c17d1.tar.xz |
00: new test
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/expr/basic | 3 |
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'}], |