summaryrefslogtreecommitdiff
path: root/tests/seq
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-29 09:57:31 +0000
committerJim Meyering <jim@meyering.net>2000-01-29 09:57:31 +0000
commit62205d8c7eb6c9b4a66fba85e168532b24b37c63 (patch)
treede373dc0cd4ad8872a563eec03d8837f38133c48 /tests/seq
parent6cac32ec7f7f162bbab59d9be69f0976e230d648 (diff)
downloadcoreutils-62205d8c7eb6c9b4a66fba85e168532b24b37c63.tar.xz
Back out the 2000-01-21 change.
Remove associated tests and add two equal-width ones.
Diffstat (limited to 'tests/seq')
-rwxr-xr-xtests/seq/basic12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/seq/basic b/tests/seq/basic
index d1002bf38..a8f6ba552 100755
--- a/tests/seq/basic
+++ b/tests/seq/basic
@@ -32,16 +32,8 @@ my @Tests =
['neg-3', qw(1 -1 0), {OUT => [qw(1 0)]}],
['neg-4', qw(1 -1 -1), {OUT => [qw(1 0 -1)]}],
- ['int-1', qw(--format=%d 1 -1 -1), {OUT => [qw(1 0 -1)]}],
- ['int-2', qw(--format=%02d 1 -1 -1), {OUT => [qw(01 00 -1)]}],
- ['int-3', qw(--format=%03d 1 -1 -1), {OUT => [qw(001 000 -01)]}],
-
- # this will fail on systems where `int' != 32 bits
- ['hex-1', qw(--format=%x 1 -1 -1), {OUT => [qw(1 0 ffffffff)]}],
-
- ['hex-2', qw(--format=%x 32 36), {OUT => [qw(20 21 22 23 24)]}],
-
- ['oct-1', qw(--format=%o 32 36), {OUT => [qw(40 41 42 43 44)]}],
+ ['eq-wid-1', qw(-w 1 -1 -1), {OUT => [qw(01 00 -1)]}],
+ ['eq-wid-2', qw(-w -.1 .1 .1),{OUT => [qw(-0.1 00.0 00.1)]}],
);
# Append a newline to each entry in the OUT array.