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
Jim Meyering
6d843c3bd5
Shorten test names to accommodate 8.3 systems.
2005-01-12 15:18:12 +00:00
Jim Meyering
e803f7bedb
regenerate
2005-01-12 15:01:10 +00:00
Jim Meyering
dc339f4f80
(repeat-bigC): Change test name from
...
`repeat-Compl', to avoid 8.3 conflict with `repeat-compl'.
2005-01-12 15:00:51 +00:00
Jim Meyering
2c2ab4fe77
*** empty log message ***
2005-01-11 17:02:57 +00:00
Jim Meyering
9be231e152
(obs-ovflo): New test for overflow.
2005-01-11 17:01:35 +00:00
Paul Eggert
c1b404410d
Add tests for empty file names and pathchk -P.
2005-01-10 18:09:22 +00:00
Jim Meyering
33b8d573f5
regenerate
2005-01-08 20:27:43 +00:00
Jim Meyering
08f451c3f4
(test_vector): For each -N test, automatically
...
create a new test vector using --columns=N.
2005-01-08 09:35:04 +00:00
Jim Meyering
a2ac7d89b8
Punt on the uptime test, since it fails when
...
it can't get boot time, and I don't want that to stop `make check'.
2005-01-05 22:08:48 +00:00
Jim Meyering
78652e53f5
Add a test for today's fix:
...
(process_file): Evaluate exclusion rules against
the entire file name, not just the last component.
2005-01-05 07:53:11 +00:00
Jim Meyering
7c2875706d
.
2005-01-04 09:43:18 +00:00
Jim Meyering
1ed5b431f5
(check-root): Update.
2005-01-04 09:41:14 +00:00
Jim Meyering
abf1b78b6b
remove FIXME comments
2005-01-04 09:00:35 +00:00
Jim Meyering
b43fd5c4de
remove FIXME comments
2005-01-04 08:59:35 +00:00
Paul Eggert
a9626a5d81
Regenerate.
2005-01-03 23:50:12 +00:00
Jim Meyering
3402774325
Don't set rows or columns to zero, to avoid
...
a bug in the TIOCGWINSZ ioctl on at least Solaris5.9 systems. Setting
either (or both) to zero would succeed, but subsequent `stty size'
would say `no size information for this device' due to the ioctl
failing with EINVAL.
2005-01-03 21:25:13 +00:00
Jim Meyering
2ecd3aaeb1
tweak comment
2004-12-21 21:11:58 +00:00
Jim Meyering
2d3c7c9b43
Avoid spurious failure on x86 solaris2.9 when using c89.
2004-12-21 09:55:14 +00:00
Paul Eggert
96742fffc4
Regenerate.
2004-12-20 08:02:53 +00:00
Jim Meyering
397d0a6baa
* tests/mv/hard-link-1: Rearrange to use newer trap-handling code,
...
so temporary directories aren't left behind upon e.g., interrupt.
2004-12-17 08:58:56 +00:00
Jim Meyering
86a23aebf8
Add a few more tests.
2004-12-14 10:42:58 +00:00
Jim Meyering
d1d6f6e13b
.
2004-12-14 10:41:00 +00:00
Jim Meyering
6f4d4a7a52
(TESTS): Add tac-continue.
2004-12-14 10:36:04 +00:00
Jim Meyering
300369d75c
Ensure that tac processes all command line arguments, even
...
when it encounters an error with say the first one.
2004-12-14 10:35:35 +00:00
Paul Eggert
ad58599404
(no-a-isdir-b): This now exits with status 2,
...
not status 1.
2004-12-14 00:42:46 +00:00
Paul Eggert
a64afdee8b
ls and variants now exit with status 2 on serious trouble.
2004-12-09 17:49:18 +00:00
Jim Meyering
d28eb0923b
Sanitize environment.
...
Otherwise, e.g., BLOCKSIZE=k would cause a failure.
2004-12-06 22:42:47 +00:00
Jim Meyering
6d96f41e1a
(test_vector): Avoid test failure when
...
_POSIX2_VERSION=199209 is in the environment, or when building on
e.g., OpenBSD 3.2.
2004-12-05 23:01:53 +00:00
Jim Meyering
16fbc3a5eb
tweak temp file name to be more consistent
2004-11-30 15:01:01 +00:00
Jim Meyering
4ed96077e8
.
2004-11-30 14:58:46 +00:00
Jim Meyering
b174e49170
.
2004-11-28 21:01:03 +00:00
Paul Eggert
6942c45d50
Regenerate.
2004-11-26 08:11:52 +00:00
Paul Eggert
0c3a6880f4
(@Tests): Use status=noxfer to avoid
...
problems with regression testing.
2004-11-16 07:46:58 +00:00
Jim Meyering
484dcf4133
*** empty log message ***
2004-11-14 11:08:22 +00:00
Jim Meyering
1dc343bb3a
*** empty log message ***
2004-11-14 00:40:03 +00:00
Jim Meyering
21bf149e86
.
2004-11-14 00:32:50 +00:00
Jim Meyering
8ce39412c3
New file. Test today's closeout.c change.
2004-11-14 00:17:24 +00:00
Jim Meyering
545e8add4d
(TESTS): Add close-stdout.
2004-11-14 00:17:10 +00:00
Jim Meyering
7d354a1286
.
2004-11-06 22:46:44 +00:00
Paul Eggert
5312181e5b
Regenerate.
2004-11-04 00:02:19 +00:00
Paul Eggert
da9f67dcf6
Regenerate.
2004-11-03 07:47:08 +00:00
Jim Meyering
2168e06a9d
.
2004-10-21 10:39:15 +00:00
Jim Meyering
0f8445ab90
*** empty log message ***
2004-10-21 09:19:06 +00:00
Jim Meyering
c40c07b39b
(TESTS): Add leak-fd.
2004-10-21 09:17:50 +00:00
Jim Meyering
61ae10db4e
*** empty log message ***
2004-10-21 09:16:52 +00:00
Jim Meyering
7a6efe58da
(TESTS): Add dot-rel.
2004-10-21 08:07:27 +00:00
Jim Meyering
cc66dd6e01
*** empty log message ***
2004-10-21 08:06:26 +00:00
Paul Eggert
681b457b55
*** empty log message ***
2004-10-13 23:06:57 +00:00
Paul Eggert
be1d0e7285
Regenerate.
2004-10-04 04:12:53 +00:00
Paul Eggert
d3781e4cb2
Regenerate
2004-09-24 23:38:43 +00:00
Paul Eggert
0b40dfd34f
(TESTS): Add 'usage'.
2004-09-24 23:34:41 +00:00
Paul Eggert
83674d774d
Initial revision
2004-09-24 23:34:07 +00:00
Paul Eggert
666c12eaa4
Regenerate.
2004-09-23 20:31:42 +00:00
Paul Eggert
4bc5655bc3
New test case obs-b.
...
err-[134] no longer need _POSIX2_VERSION=199209.
Fix comments to match revised 'tail' behavior.
2004-09-23 20:30:54 +00:00
Jim Meyering
ad803f1e3a
Use automake-1.9.2. Regenerate dependent files.
2004-09-22 20:18:09 +00:00
Paul Eggert
718c00df82
Adjust to new wording in diagnostic.
2004-09-21 22:25:51 +00:00
Paul Eggert
d98eed0845
Don't try to remove writeable files in a sticky /tmp directory, as
...
SVR4-like systems (e.g., Solaris 9) let you remove such files.
2004-09-19 07:11:16 +00:00
Paul Eggert
379580a006
Check for "dd --".
2004-09-19 01:45:48 +00:00
Paul Eggert
d51163ecb8
Regenerate.
2004-09-13 12:17:20 +00:00
Paul Eggert
6840f212f1
(test_vector): minus-* requires
...
_POSIX2_VERSION=199209 now, to work correctly if there is
an input file. err-1 and err-3 no longer errors if there
is another file.
2004-09-10 20:54:32 +00:00
Paul Eggert
73f6003f89
(fowler-1): New test case.
2004-09-09 00:28:18 +00:00
Paul Eggert
8ac79b7076
Test for "touch -- MMDDmm file" bug. Also, set
...
_POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's
a better test for obsolescent features.
2004-09-07 06:23:09 +00:00
Paul Eggert
a806fcf640
Check for the fixed stty option-parsing bugs.
2004-09-05 07:22:21 +00:00
Paul Eggert
4798caf852
Fix infloop-3 to match POSIX.
...
Add blanks-1 through blanks-13.
2004-08-24 07:39:17 +00:00
Paul Eggert
5dd2658cb2
Regenerate.
2004-08-20 02:12:59 +00:00
Paul Eggert
8d3555ff43
Regenerate.
2004-08-19 20:06:22 +00:00
Paul Eggert
7c308093f3
New file, partly taken from
...
Dmitry V. Levin's suggestion in
<http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html >
2004-08-19 20:04:21 +00:00
Paul Eggert
d3771df301
(TESTS): Add separator.
2004-08-19 20:04:02 +00:00
Paul Eggert
a078203b6d
Test "chgrp '' file".
2004-08-19 20:03:48 +00:00
Paul Eggert
8c3f76651a
Regenerate.
2004-08-11 23:47:29 +00:00
Paul Eggert
f469551274
Further fix for -d regression.
2004-08-11 23:41:44 +00:00
Paul Eggert
f6559775e6
Test for the -d regression.
2004-08-11 21:51:57 +00:00
Paul Eggert
faca6bfc15
Convert to UTF-8.
2004-08-10 22:47:08 +00:00
Paul Eggert
5d204d4e2f
Regenerate.
2004-08-09 18:51:05 +00:00
Paul Eggert
a3538ea055
Regenerate.
2004-08-05 23:11:21 +00:00
Paul Eggert
8c454fe939
(wide-1, wide-2, bad-suffix): Adjust to today's fmt.c fixes.
2004-08-03 00:03:57 +00:00
Paul Eggert
09e6455c57
Regenerate.
2004-08-02 05:30:48 +00:00
Paul Eggert
adab436e48
Test for proper handling of uids like
...
"010", which must be parsed as decimal.
2004-07-28 23:05:27 +00:00
Paul Eggert
f8fe7f2e43
Regenerate.
2004-07-28 22:32:26 +00:00
Paul Eggert
f4bc6c5d12
Don't assume that Perl's getpwd agrees with our
...
pwd when there are multiple names for the working directory
(which can happen with an automounter, sigh).
2004-07-28 19:23:07 +00:00
Paul Eggert
62824b327f
Regenerate.
2004-07-28 05:26:31 +00:00
Paul Eggert
43309787ce
Don't assume that we can remove the working directory in tests.
2004-07-28 00:06:57 +00:00
Paul Eggert
60a96eb684
Regenerate.
2004-07-23 22:41:52 +00:00
Paul Eggert
af73da6cdf
Regenerate.
2004-07-22 20:58:52 +00:00
Paul Eggert
1391d2dc5c
Reinstate f-1 test, since we now pass.
...
Add a new commented-out f-2 test, which we still fail.
(test_vector): All f-* tests are special cases, not just f-1.
2004-07-22 20:54:53 +00:00
Paul Eggert
70c9129e14
Regenerate.
2004-07-12 06:43:20 +00:00
Jim Meyering
405c640f5b
printf cleanup, to avoid undefined behavior, to add support for
...
formats that Bash supports, and to support wide integers like
Bash does.
Add tests for the above.
2004-07-08 14:03:20 +00:00
Jim Meyering
0f3da8f425
.
2004-07-06 17:30:29 +00:00
Jim Meyering
0966feecc2
.
2004-07-06 16:14:45 +00:00
Jim Meyering
06291f1741
renamed from ../misc/readline
2004-07-06 16:14:40 +00:00
Jim Meyering
0206598b8b
.
2004-07-06 16:14:19 +00:00
Jim Meyering
6ec3b19040
From Dmitry V. Levin
2004-07-06 16:14:15 +00:00
Jim Meyering
519533ed8e
(SUBDIRS): Add readlink.
2004-07-06 16:13:31 +00:00
Jim Meyering
ef09b8426a
(TESTS): Remove basic readlink test.
2004-07-06 16:13:01 +00:00
Jim Meyering
037b7fc0b9
renamed to ../readlink/rl-1
2004-07-06 16:12:39 +00:00
Jim Meyering
2ca3893c92
Change filesystem' to
file system' in a comment.
2004-06-30 22:51:11 +00:00
Jim Meyering
791845693a
Don't let verbose-mode output from a subshell obscure actual differences.
...
Turn off command-echoing just before
invoking subshell, then turn it back on if VERBOSE=yes afterward.
2004-06-29 14:38:32 +00:00
Jim Meyering
d69237e2d6
Add a test to verify that we get the new
...
diagnostic when failing to copy through a symlink-to-inaccessible-dir.
2004-06-28 18:47:24 +00:00
Jim Meyering
fac33c194c
Don't assume "mv --target=nonexistentdir" will complain about the arg count.
...
Adjust to new (briefer) diagnostics.
2004-06-28 18:41:01 +00:00
Jim Meyering
3d14a0d604
See whether a trailing slash is followed too far.
2004-06-27 09:42:45 +00:00
Jim Meyering
9338e5d901
Add test for ln subscript error.
2004-06-25 07:14:08 +00:00
Jim Meyering
112efa81f2
Replace all occurrences of `(exit N); exit' with
...
`(exit N); exit N'. Otherwise, those many tests could exit with
improper exit status when exiting via e.g., a trapped interrupt.
Thanks to a report from Bob Proulx.
2004-06-23 15:07:00 +00:00
Jim Meyering
ecc187a433
Quote "$PATH" in PATH=$PATH.
2004-06-21 20:40:58 +00:00
Jim Meyering
d55a463d8b
When running as root, be sure to propagate
...
PATH through to the process we exec as non-root.
2004-06-21 17:06:58 +00:00
Jim Meyering
777a96db68
Adjust to new diagnostics.
2004-06-21 15:04:54 +00:00
Jim Meyering
a77a16acbf
Adjust to the new semantics for \x if POSIXLY_CORRECT.
2004-06-15 18:04:47 +00:00
Jim Meyering
78fcbf003a
.
2004-06-14 17:21:55 +00:00
Jim Meyering
5956d74d8b
(TESTS): Add pwd.
...
(BUILD_SRC_DIR): Define BUILD_SRC_DIR.
2004-06-14 17:20:19 +00:00
Jim Meyering
8812a1f12a
New test, for fix of 2004-04-19.
2004-06-14 17:19:46 +00:00
Jim Meyering
0774a224fe
Adjust to accommodate Paul Eggert's changes of 2004-06-08.
2004-06-09 14:45:38 +00:00
Jim Meyering
91476b4612
.
2004-06-08 17:07:19 +00:00
Jim Meyering
57a06c9366
Test that chgrp -h does not fail on
...
symlinks, even on hosts where that's not supported.
Test that if -R is specified without -H or L, -h is assumed.
Test that chown() is not optimized away.
2004-06-08 16:58:28 +00:00
Jim Meyering
5fe68c2d94
Adjust error-diagnostic spelling to match new behavior.
2004-06-08 15:26:45 +00:00
Jim Meyering
f41716a4ef
Do not attempt to combine -h and -H; these
...
options are incompatible, and their behavior is undefined with POSIX.
(changed, not_changed): Adjust to match the fact that -h is no longer
specified. Sort names.
2004-06-08 15:25:59 +00:00
Jim Meyering
8dbd36d925
Use chown --from to discover whether the
...
group changed, since chgrp now changes unconditionally. This
complicates the sed script a bit. Do not specify --dereference,
since it's the default (and we want to test this). Adjust output
to match the fact that chgrp no longer optimizes the case of
changing a file's group to the same value as before.
2004-06-08 15:25:45 +00:00
Jim Meyering
b50934d2a9
.
2004-06-08 14:58:57 +00:00
Jim Meyering
d53e7ba8a1
.
2004-06-02 21:21:05 +00:00
Jim Meyering
3ce2931ad2
Add tests of --output-delimiter=S with abutting and overlapping byte ranges.
2004-06-02 21:20:23 +00:00
Jim Meyering
709978531b
.
2004-06-02 08:54:32 +00:00
Jim Meyering
27d6dec23d
New tests bs-055, bs-at-end, repeat-Compl.
...
Fix comment for range-a-a.
2004-06-02 08:50:42 +00:00
Jim Meyering
92b4b9ffba
.
2004-06-01 07:49:47 +00:00
Jim Meyering
778326c2e6
.
2004-05-31 12:20:01 +00:00
Jim Meyering
7db2ac9eaf
regenerate
2004-05-31 12:18:24 +00:00
Jim Meyering
d6e5e7b49e
2004-05-29 Paul Eggert <eggert@cs.ucla.edu>
...
tr cleanup, mostly having to do with integer type ranges.
Remove all casts.
* tests/tr/Test.pm: Add a few tests for the below. Alas, most of
the test cases wouldn't be portable, or would take too much CPU
time, or both.
2004-05-31 12:17:49 +00:00
Jim Meyering
b6220a928f
(TESTS_ENVIRONMENT): Define PATH to include
...
the build src/ directory -- at the front.
($(srcdir)/$x-tests): Depend on Makefile.am.
Use $x as the program name, except when it would be `test' (test is
the sole program tested via mk-script that is also a shell built-in).
In that case, use the old ../../src/$x.
2004-05-31 12:16:47 +00:00
Jim Meyering
bc8843e1ca
.
2004-05-31 12:11:49 +00:00
Jim Meyering
00731dd01d
.
2004-05-31 11:41:36 +00:00
Jim Meyering
14a7c4506d
(TESTS_ENVIRONMENT): Set PATH.
2004-05-31 11:41:06 +00:00
Jim Meyering
97930170e8
.
2004-05-29 22:23:31 +00:00
Jim Meyering
549e8ff6df
Fix typo: use ls -ldo, not ls -ldg. Patch from Albert Chin.
2004-05-29 20:46:43 +00:00
Jim Meyering
19000dd0f1
(TESTS): Add inaccessible.
2004-05-21 14:32:20 +00:00
Jim Meyering
e42baab490
# Ensure that rm works even when run from a directory
...
# for which the user has no access at all.
2004-05-21 13:59:31 +00:00
Jim Meyering
da9163d7b6
.
2004-05-17 12:11:19 +00:00
Jim Meyering
58f134b649
Use -h where necessary to retain semantics.
2004-05-17 12:10:43 +00:00
Jim Meyering
be8365288d
*** empty log message ***
2004-05-16 14:17:53 +00:00
Jim Meyering
877467bc0c
(TESTS): Add deref.
2004-05-16 14:10:17 +00:00
Jim Meyering
0c1db9f1ca
New test for the yesterday's change.
2004-05-16 14:10:10 +00:00
Jim Meyering
c134ce8fab
.
2004-05-14 09:16:23 +00:00
Jim Meyering
2b4882c233
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
...
* src/Makefile.am (all_programs.list): New rule, copied from
man/Makefile.am and tests/Makefile.am, except that we use the
system tr rather than ./tr and we don't use tr -s.
* tests/Makefile.am (all_programs): Use it.
2004-05-13 07:03:52 +00:00
Jim Meyering
4dbfc4c582
(TESTS): Add unread3.
2004-05-11 19:41:33 +00:00
Jim Meyering
bcd1f744af
New test, for the above fix and today's lib/save-cwd.c improvement.
2004-05-11 19:41:23 +00:00
Jim Meyering
128e1b2963
.
2004-05-10 18:15:41 +00:00
Jim Meyering
6e73791bd4
(TESTS): Add trap.
2004-05-10 15:13:45 +00:00
Jim Meyering
c98f083d36
New file. Test for bug fix of 2004-04-18.
2004-05-10 15:13:29 +00:00
Jim Meyering
6d67072179
Remove this generated file from CVS.
2004-05-10 07:15:03 +00:00
Jim Meyering
063d037b37
.
2004-05-10 07:04:59 +00:00
Jim Meyering
0ee95541c1
.
2004-05-09 19:44:10 +00:00
Jim Meyering
66fd845fed
(TESTS): Add no-give-up.
2004-05-08 12:49:53 +00:00
Jim Meyering
198dc407d3
New file; check for the above fix.
2004-05-08 12:47:23 +00:00
Jim Meyering
53080d0a85
.
2004-04-26 16:31:14 +00:00
Jim Meyering
b88eb38b98
Fix typo in env_default comment.
...
(18c, 18d): Reverse the order of output lines, so that the
test cases conform to POSIX.
2004-04-26 15:43:37 +00:00
Jim Meyering
9a3fee94a0
Fix typo in env_default comment.
2004-04-26 15:39:02 +00:00
Jim Meyering
332853e722
.
2004-04-19 18:58:24 +00:00
Jim Meyering
7c22ac2383
.
2004-04-14 08:43:32 +00:00
Jim Meyering
907e43cc4a
.
2004-04-12 09:39:24 +00:00
Jim Meyering
a61bca91eb
.
2004-04-08 15:38:59 +00:00
Jim Meyering
b275fab12c
.
2004-04-04 06:55:58 +00:00
Jim Meyering
99b004b46b
(run_tests): Remove `.orig' file.
...
Remove debugging diagnostic.
2004-03-31 08:39:22 +00:00
Jim Meyering
75e3763623
.
2004-03-31 07:49:30 +00:00
Jim Meyering
d49a6c1a2b
.
2004-03-31 07:48:14 +00:00
Jim Meyering
701ddad1e7
Use new OUT_SUBST directive, so that this
...
test is not sensitive to system-dependent block size differences.
2004-03-29 09:37:23 +00:00
Jim Meyering
216904e67c
Accept new directives: OUT_SUBST, ERR_SUBST.
...
Rename `%tmp' to `%actual'. Reverse order of last two args to
_compare_files (to actual, $expected) so as to match declaration.
2004-03-29 09:23:36 +00:00
Jim Meyering
9e77380c9f
Correct the indentation of a foreach loop.
2004-03-28 08:21:45 +00:00
Jim Meyering
98529c8bfc
(zero-len): Add a test for the above.
2004-03-25 17:33:56 +00:00
Jim Meyering
ebe3477b72
Test for BLOCKSIZE. Factor the code to simplify it.
2004-03-24 17:40:29 +00:00
Jim Meyering
a3be161671
Adjust to above changes to src/du.c.
2004-03-24 15:14:22 +00:00
Jim Meyering
2d78b8bd47
Avoid race condition that could cause
...
spurious failure. Based on a patch from Andreas Schwab.
2004-03-24 12:13:12 +00:00
Jim Meyering
68858cdd9e
(nul-1, nul-2): Adjust expected diagnostics to match corrected output.
2004-03-22 20:38:28 +00:00
Jim Meyering
9fb05110ea
Also test with a non-regular file:
...
--files0-from=/dev/null
2004-03-21 19:20:14 +00:00
Jim Meyering
977dc6841b
Add this comment:
...
# -*- perl -*-
2004-03-21 18:50:30 +00:00
Jim Meyering
082a7f8246
.
2004-03-21 18:50:03 +00:00
Jim Meyering
48058ff931
Fix typo in comment.
2004-03-21 18:47:43 +00:00
Jim Meyering
865123bcc5
(TESTS): Add files0-from.
2004-03-21 18:45:17 +00:00
Jim Meyering
c16e974f64
New tests, for --files0-from-F option.
2004-03-21 18:45:06 +00:00
Jim Meyering
c420f0b437
.
2004-03-17 18:44:57 +00:00
Jim Meyering
12b6a3e366
(test_vector): New tests epoch, ns-10, ns-max32, ns-relative.
2004-03-17 17:42:11 +00:00
Jim Meyering
e0501d9d25
.
2004-03-15 13:06:09 +00:00
Jim Meyering
2666b09b19
*** empty log message ***
2004-03-15 09:46:47 +00:00
Jim Meyering
ecb2429437
*** empty log message ***
2004-03-15 09:39:02 +00:00
Jim Meyering
4b7f712702
New file, to test for just-fixed bug in date.
...
See today's change in lib/getdate.y.
2004-03-15 09:11:20 +00:00
Jim Meyering
ec55878bfe
(TESTS): Add date-sec.
2004-03-15 09:02:50 +00:00
Jim Meyering
4763a4baa8
Exit 77 (not 1) if we can't set up for the test.
...
This was triggered on a Linux-2.2.19 system using a file system
NFS-mounted from some sort of Sun.
2004-03-12 19:03:07 +00:00
Jim Meyering
e0bc86781f
.
2004-03-12 13:55:52 +00:00
Jim Meyering
8915472521
(TESTS): Add part-hardlink.
2004-03-12 12:04:15 +00:00
Jim Meyering
fc3ce57024
# Before coreutils-5.2.1, this test would fail.
2004-03-12 12:04:02 +00:00
Jim Meyering
98ea4dad08
.
2004-03-11 09:25:53 +00:00
Jim Meyering
f9a3bc012b
Also convert sizes in the 70-79 kB range,
...
so that this test works with SELinux-enable systems.
Based on a patch from Tim Waugh.
2004-03-10 18:06:04 +00:00