1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-03 19:47:42 +02:00
Commit Graph

2507 Commits

Author SHA1 Message Date
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