Jim Meyering
8a11d99e7d
(subfmt-up1): Test the combination of the
...
to-upper-case modifier (^) and a conversion specifier that
expands to a string containing lower case characters.
2005-09-16 06:54:19 +00:00
Jim Meyering
f6198493b8
(tz-5w, tz-5wf): Test new %:z format with a field width.
2005-09-14 09:54:15 +00:00
Paul Eggert
20b858a1e6
Add tz-1 through tz-5.
2005-09-14 06:58:44 +00:00
Paul Eggert
7cc7ac0574
Add tests for --rfc-3339.
2005-09-13 22:09:03 +00:00
Jim Meyering
aadcf5b2e4
.
2005-09-10 14:16:53 +00:00
Jim Meyering
5c2d345121
Add test for the bug fixed today.
2005-09-10 14:06:29 +00:00
Paul Eggert
97f9677790
Regenerate.
2005-09-09 21:21:16 +00:00
Jim Meyering
da31244e99
(neg-secs2, fill-1, fill-2): Add new tests.
2005-09-09 07:22:27 +00:00
Jim Meyering
ae14879ab9
(setuid-etc): New test, for today's addition of colorization for
...
setuid, setgid files and sticky, other-writable, sticky-and-other-writable
directories.
2005-09-05 17:13:09 +00:00
Jim Meyering
bbd6e2ef20
.
2005-09-04 20:08:25 +00:00
Jim Meyering
a8819700e1
Remove terminating "\n"s once again.
...
Automatically add them whenever EXIT != 0.
2005-08-17 20:20:33 +00:00
Jim Meyering
df23c845d2
[neg-secs]: New test for today's strftime.c bug fix.
2005-08-17 19:56:44 +00:00
Jim Meyering
c013687ab1
add comment
2005-08-15 13:05:58 +00:00
Jim Meyering
9d534aa492
use ERR_SUBST to get around fact that the diagnostic
...
you get on a system with 32-bit time_t is not the same as
the one you get for a system where it's 64 bits wide:
- date: time 72057594037927935 is out of range
+ date: invalid date `@72057594037927935'
2005-08-15 13:03:57 +00:00
Jim Meyering
4a78a30f89
(uninit-64): New test for today's date.c fix.
...
Rewrite all other OUT strings to include the terminating "\n".
2005-08-15 13:01:50 +00:00
Jim Meyering
b2e04be2fa
.
2005-08-14 14:31:23 +00:00
Jim Meyering
9609435c35
.
2005-08-13 17:36:34 +00:00
Jim Meyering
72c320dcb2
(SUBDIRS): Remove date.
2005-08-13 17:34:11 +00:00
Jim Meyering
d177820c9a
convert last batch of tests
2005-08-13 15:43:40 +00:00
Jim Meyering
d0c7a455fb
Use new ENV and ENV_DEL to support this latest batch of tests from
...
tests/date/Test.pm
2005-08-13 15:36:14 +00:00
Jim Meyering
0d7a17424c
New keywords, ENV and ENV_DEL, to support tests/misc/date.
2005-08-13 15:34:52 +00:00
Jim Meyering
db209f6c24
move a bunch of tests to ../misc/date
2005-08-13 14:45:45 +00:00
Jim Meyering
3d7ea6356b
more tests translated from ../date/Test.pm
2005-08-13 14:45:38 +00:00
Jim Meyering
9d610b26f8
move a bunch of tests to ../misc/date
2005-08-13 14:42:03 +00:00
Jim Meyering
9741a40764
add a bunch more tests
2005-08-13 14:41:39 +00:00
Jim Meyering
a6f5fa497d
move a handful of tests to ../misc/date
2005-08-13 14:33:48 +00:00
Jim Meyering
75c40d536f
more tests translated from ../date/Test.pm
2005-08-13 14:33:33 +00:00
Jim Meyering
0b20b31116
(TESTS): Add date.
2005-08-13 14:08:26 +00:00
Jim Meyering
bb05ee39b8
With todays additions, the generated shell script,
...
tests/date/date-tests had becoming far too large (over 350KB),
so use the superior-but-perl-requiring framework instead.
* tests/date/Test.pm: Move new tests from here...
* tests/misc/date: ...to this new file.
2005-08-13 14:07:18 +00:00
Jim Meyering
a3bde3aa18
(test_vector): Add 364 more tests like the above.
...
Remove unused $sunos4 variable.
2005-08-13 13:16:29 +00:00
Jim Meyering
829444c02d
(test_vector) [cross-dst]: New test for just-fixed getdate.y bug.
2005-08-13 13:07:45 +00:00
Jim Meyering
a93af329ba
.
2005-08-12 06:54:24 +00:00
Jim Meyering
0508157932
.
2005-08-02 21:15:19 +00:00
Jim Meyering
73ebfeb75a
(empty-format): New test, for this case.
2005-08-02 20:44:09 +00:00
Jim Meyering
95550da8d3
.
2005-07-12 16:44:52 +00:00
Paul Eggert
060594db56
Regenerate.
2005-07-08 00:35:04 +00:00
Jim Meyering
52c7a92b85
.
2005-07-07 17:59:05 +00:00
Jim Meyering
3e7b6a68b5
Adjust for new diagnostic.
2005-07-03 16:58:48 +00:00
Jim Meyering
98ce09d7d2
Adjust for new diagnostic.
2005-07-03 16:54:37 +00:00
Jim Meyering
85ddb64559
.
2005-07-03 11:58:11 +00:00
Paul Eggert
de0cf8356f
Regenerate.
2005-07-03 07:28:38 +00:00
Jim Meyering
42f845ebc7
.
2005-07-02 14:33:56 +00:00
Jim Meyering
c44874f722
.
2005-06-30 20:32:46 +00:00
Jim Meyering
7f7acc20fd
.
2005-06-27 08:50:22 +00:00
Jim Meyering
ae08ebecae
.
2005-06-23 15:07:45 +00:00
Paul Eggert
a240b41236
Use umask-check instead of chmod.
2005-06-22 18:08:35 +00:00
Paul Eggert
5750ad83c8
Use umask-check.
2005-06-22 18:08:13 +00:00
Paul Eggert
904012a974
(EXTRA_DIST): Add umask-check.
2005-06-22 18:07:55 +00:00
Paul Eggert
06c4f8e242
Initial revision.
2005-06-22 18:07:36 +00:00
Paul Eggert
d114087468
* tests/cp/cp-parents: Use chmod to work around some hosts with
...
ACL problems.
2005-06-22 07:38:06 +00:00
Jim Meyering
faae396f21
Use --apparent-size to avoid the vagaries
...
of counting blocks. Kevin Mudrick reported that this test would
fail on an nfs-mounted directory where attribute-caching is
turned on.
2005-06-21 08:45:19 +00:00
Jim Meyering
7cb0b72a2c
.
2005-06-20 07:13:36 +00:00
Jim Meyering
e18177dfbe
Ensure that rel-named dirs are not created when chdir($PWD) fails.
2005-06-15 09:31:16 +00:00
Jim Meyering
39b87363ae
Ensure that each `-d'-specified directory is created.
2005-06-15 09:04:21 +00:00
Jim Meyering
88a7148929
Add a test for just-fixed bug in mkdir-p.c.
2005-06-15 08:32:11 +00:00
Jim Meyering
dbc8afd399
Ensure mkdir succeeds if the following argument is an absolute directory name.
2005-06-14 09:00:00 +00:00
Jim Meyering
bf684a6106
whoops.
...
redirect stderr to dev/null
2005-06-14 08:16:18 +00:00
Jim Meyering
a35d3cb4f8
.
2005-06-14 08:00:46 +00:00
Jim Meyering
d9b86c6156
(TESTS): Add p-3.
2005-06-14 07:59:59 +00:00
Jim Meyering
069175c396
*** empty log message ***
2005-06-13 10:20:39 +00:00
Paul Eggert
2bc139bf8f
Regenerate.
2005-06-02 05:19:46 +00:00
Paul Eggert
ff57f59217
Regenerate.
2005-05-30 07:41:32 +00:00
Paul Eggert
8cb4f7039d
(eq-6, gt-5, lt-5): New tests.
2005-05-27 20:32:43 +00:00
Paul Eggert
9b4b372182
(bigcmp): New test.
2005-05-27 20:32:28 +00:00
Jim Meyering
f3dfdff460
Add tests using arithmetic on negative integers.
2005-05-26 16:09:29 +00:00
Paul Eggert
666680ddaa
Regenerate.
2005-05-18 19:36:47 +00:00
Paul Eggert
070140df89
Regenerate.
2005-05-14 08:17:38 +00:00
Jim Meyering
44d59bb168
Update FSF postal mail address.
2005-05-14 07:58:31 +00:00
Jim Meyering
7e387bd78d
.
2005-05-14 07:40:16 +00:00
Jim Meyering
e4a2650e94
.
2005-05-14 07:34:36 +00:00
Jim Meyering
a738692de4
.
2005-05-13 08:20:32 +00:00
Jim Meyering
2113d67f69
Skip this test if the user running it owns `/' or has write access to it.
2005-05-10 13:30:39 +00:00
Jim Meyering
c2666e4b18
Skip the test if the user running it has write access to `/'.
2005-05-10 12:59:44 +00:00
Jim Meyering
4c2413d79f
.
2005-05-10 07:42:12 +00:00
Jim Meyering
d902ba0ad5
(TESTS): Add reply-no.
2005-05-10 07:42:01 +00:00
Jim Meyering
208bacc4b7
*** empty log message ***
2005-05-10 07:25:24 +00:00
Jim Meyering
49f3c23dad
Don't print PATH to stderr.
2005-05-10 06:59:24 +00:00
Paul Eggert
04d5428ad3
Regenerate.
2005-05-04 17:25:26 +00:00
Paul Eggert
a68066a0fb
Initial version.
2005-05-04 17:22:54 +00:00
Paul Eggert
5147bacee1
(TESTS): Add umask-x
2005-05-04 17:22:41 +00:00
Paul Eggert
67a19c8e42
Regenerate.
2005-04-30 00:07:30 +00:00
Paul Eggert
2ae6e04c14
(tv): Rename tests from obs to obs-plus
...
if they use file names starting with +.
(test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.
2005-04-29 23:51:33 +00:00
Paul Eggert
37b4097c76
(tv): Rename tests from obs to obs-plus
...
if they use file names starting with +.
(test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.
2005-04-29 23:51:11 +00:00
Paul Eggert
4dad901e78
Fix comment to match new behavior of "sort".
2005-04-29 23:50:52 +00:00
Paul Eggert
87aed84ff4
Don't set _POSIX2_VERSION; no longer needed.
2005-04-29 23:49:47 +00:00
Paul Eggert
8b4811a61b
Don't use 'set -'
2005-04-29 21:49:59 +00:00
Paul Eggert
d62f87f164
Don't use 'set -'.
2005-04-29 21:49:20 +00:00
Paul Eggert
57b38dad6b
Don't use 'set -'. Simplify test construction.
...
Work even if the underyling system attaches ACLs to new dirs.
2005-04-29 21:49:06 +00:00
Paul Eggert
b4dcd32039
Don't use 'set -'. Also, don't set _POSIX2_VERSION.
2005-04-29 21:48:48 +00:00
Paul Eggert
57f4da0a00
Test for new -p behavior. Omit -1 option.
...
The "ls --color" test wasn't being checked; add a check for
"ls --color=auto" instead.
2005-04-29 21:01:29 +00:00
Paul Eggert
e8b76516bf
Check for ug+r and ug,+x bugs.
2005-04-28 16:32:06 +00:00
Paul Eggert
67f7a0936c
Check for =u bug.
2005-04-28 16:31:49 +00:00
Paul Eggert
add32958fc
Check for =xX bug.
2005-04-28 16:31:32 +00:00
Paul Eggert
db3f41ec77
Test for "mkdir -m =+x dir" bug.
2005-04-22 23:54:05 +00:00
Paul Eggert
406dac3861
Regenerate.
2005-04-21 00:34:47 +00:00
Paul Eggert
2d8996299e
Undo previous change.
...
(sig): New var. Use it insted of "trap '' CHLD".
Append $EXEEXT to executable name.
2005-04-21 00:30:35 +00:00
Paul Eggert
82e7b3c7ca
Undo previous change.
...
(dd, dd2): New vars, which use $EXEEXT. All uses of dd and dd2 changed.
2005-04-21 00:30:13 +00:00
Paul Eggert
516e0734b5
(TESTS_ENVIRONMENT): Add EXEEXT.
2005-04-21 00:29:50 +00:00
Paul Eggert
16ded268dd
Fetish.pm renamed to Coreutils.pm.
2005-04-20 07:58:09 +00:00
Paul Eggert
9118673ca3
Renamed Fetish package to Coreutils.
2005-04-20 07:54:54 +00:00
Paul Eggert
6195b00513
(EXTRA_DIST): Add Coreutils.pm and remove Fetish.pm.
2005-04-20 07:53:53 +00:00
Paul Eggert
ee3fb6fadc
(package Coreutils): Renamed from package Fetish.
2005-04-20 07:53:09 +00:00
Paul Eggert
e3f1529533
(dot_mount_point): Use stat -L, in case the
...
directory is actually a symbolic link.
2005-04-19 07:36:39 +00:00
Paul Eggert
a8f2520b15
Use test -p to test for fifos, rather
...
than the (incorrect) test -f and the (inadequate) ls. ls is
inadequate because on some hosts a buggy mv will create a file of
the wrong type (problem reported by Eric Blake). Skip this test
if test -p doesn't work.
2005-04-19 07:26:18 +00:00
Paul Eggert
822c4d9a83
Use numeric group ids, not symbolic group names,
...
since the latter can have shell metacharacters in them (e.g., spaces).
2005-04-19 07:08:08 +00:00
Paul Eggert
9f79304ead
(FETISH_GROUP): Renamed from COREUTILS_GROUP.
2005-04-18 23:33:29 +00:00
Paul Eggert
a57516e20f
(COREUTILS_GROUPS): Renamed from FETISH_GROUPS.
2005-04-18 23:33:10 +00:00
Paul Eggert
9f6ffbac31
Fix typo in comment.
2005-04-18 18:48:22 +00:00
Paul Eggert
17d40155b4
Use "cat", not "test", to test for
...
../../src/dd. Problem reported by Eric Blake.
2005-04-18 18:37:36 +00:00
Paul Eggert
1563f3241e
Skip this test if "trap '' CHLD" doesn't work.
2005-04-18 06:35:22 +00:00
Paul Eggert
2cb82c08c6
Skip this test if ../../src/dd isn't readable.
2005-04-18 06:35:06 +00:00
Paul Eggert
9ca6f88366
(dot_mount_point): Use stat rather than df, as
...
it's more reliable.
(other_partition_tmpdir): Remove df from name as that would be
misleading now.
2005-04-14 20:35:34 +00:00
Paul Eggert
b6820a451d
Ignore chatter about when files are removed,
...
since POSIX doesn't require rename to fail across file systems.
2005-04-14 20:35:14 +00:00
Paul Eggert
3aeec3ceed
Regenerate.
2005-04-11 20:21:07 +00:00
Jim Meyering
6d619b4ab7
.
2005-04-05 11:45:49 +00:00
Jim Meyering
4c78f3da38
(SUBDIRS): Add tee.
2005-04-05 11:44:54 +00:00
Jim Meyering
7d2ad53db7
.
2005-04-05 11:43:03 +00:00
Jim Meyering
0df327a7a9
.
2005-04-01 07:44:41 +00:00
Jim Meyering
9c9c4327e2
Don't let pr treat +1:-1 like +1:18446744073709551615.
...
(neg-page): Add a test for this.
2005-04-01 07:40:33 +00:00
Jim Meyering
0c7d9eda5c
.
2005-03-22 16:17:25 +00:00
Paul Eggert
78fa4b674d
Regenerate.
2005-03-21 20:37:19 +00:00
Jim Meyering
33f2ed5c4d
.
2005-03-19 14:20:47 +00:00
Jim Meyering
2ecd300ec3
.
2005-03-15 18:10:50 +00:00
Jim Meyering
fd304f1e0e
Both pr -0' and e.g.,
pr -03' would evoke `column count too large'.
...
`pr -0' should give a better diagnostic and `pr -03' should be
equivalent to `pr -3'.
(parse_column_count): Change return type to void.
Call error (EXIT_FAILURE, ... for an invalid string.
(main): Allocate space for column_count_string using malloc.
Accumulate all old-style column-count digits before converting.
When the number of columns is specified via both old-style,
(e.g., -3), and a long option (--columns=5), ensure that only
the last one specified takes effect.
Add tests for the above.
2005-03-15 18:09:05 +00:00
Jim Meyering
5dd8c8ca32
Add tests for this:
...
Prompt once again for `mv -i A B' when A and B are hard links
to the same file. This fixes a bug introduced by my 2003-04-04
(coreutils-5.0.1) change.
2005-03-11 09:37:15 +00:00
Jim Meyering
c4ce40a9a3
.
2005-03-09 10:17:30 +00:00
Jim Meyering
2153bad976
.
2005-03-01 20:50:35 +00:00
Paul Eggert
9ba7355604
Regenerate.
2005-02-26 07:42:19 +00:00
Paul Eggert
5677f3f7d9
Regenerate.
2005-02-22 07:21:57 +00:00
Paul Eggert
7244117ba2
Regenerate.
2005-02-21 08:26:21 +00:00
Paul Eggert
80cc962bd5
Don't assume that the current host supports 64-bit integers.
2005-02-21 07:22:49 +00:00
Paul Eggert
17103c0976
Don't assume that the current host supports integers wider than 32
...
bits. Fix comment typo.
2005-02-21 07:12:37 +00:00
Jim Meyering
017b3436b8
.
2005-02-13 08:15:24 +00:00
Jim Meyering
4738975f66
.
2005-02-09 09:58:07 +00:00
Jim Meyering
8fecea5296
Check for $2 -ge 128, rather than $2 = 128, in case
...
there is a file system type that doesn't support sparse files,
yet for which metadata takes up additional space.
2005-02-02 14:14:28 +00:00
Jim Meyering
0c453a0d11
Also adjust the test to detect systems that don't support sparse files.
2005-02-02 13:10:23 +00:00
Jim Meyering
5446b32584
Detect sparse files on NTFS under cygwin.
2005-02-02 08:30:08 +00:00
Jim Meyering
84f0fef1c7
.
2005-01-30 17:41:06 +00:00
Jim Meyering
f13af5d424
Quote user and group names.
2005-01-30 14:31:19 +00:00
Jim Meyering
1ab0c93405
Ignore ACL designation.
2005-01-30 14:30:10 +00:00
Jim Meyering
110280e2ef
Ignore ACL designation.
2005-01-30 14:29:03 +00:00
Jim Meyering
828850baaa
(.PHONY): Add check-root and root-hint.
2005-01-30 14:28:36 +00:00
Jim Meyering
1f1da5a429
.
2005-01-29 00:21:24 +00:00
Paul Eggert
b10a836fa0
Use numeric group ids, not symbolic group names, to avoid shell quoting issues.
2005-01-17 22:40:57 +00:00
Jim Meyering
6e46196ae9
.
2005-01-14 15:15:58 +00:00
Jim Meyering
6ad556a63c
(id_gn): Exit 77, not 1, for a test-framework
...
failure, so that doesn't cause `make check' to stop. Nelson Beebe
reported that this test would fail with this diagnostic
`cannot find name for group ID 10' on one of his systems.
2005-01-14 10:39:05 +00:00
Jim Meyering
d5a5cf8f9d
(validate): Add code (if-0'd out) to detect
...
names of temporary files that would clash on 8.3 file systems.
2005-01-13 22:16:29 +00:00
Jim Meyering
fe44a6d988
(run_tests): Add code (if-0'd out) to detect
...
names of temporary files that would clash on 8.3 file systems.
2005-01-13 22:13:53 +00:00
Jim Meyering
10d9154380
(repeat-000): Rename to `repeat-zeros' for the same reason.
2005-01-12 15:27:28 +00:00
Jim Meyering
fc539da2b0
Shorten test names to accommodate 8.3 systems.
2005-01-12 15:18:54 +00:00