Jim Meyering
17720c10cd
Require that "(exit $fail); exit $fail" be last line of each test.
...
* maint.mk (sc_require_test_exit_idiom): New rule to enforce policy.
* tests/cp/acl: Adhere to the new policy.
* tests/cp/preserve-gid: Likewise.
* tests/dd/misc:
* tests/install/create-leading:
* tests/ln/sf-1:
* tests/ls/symlink-slash:
* tests/misc/help-version:
* tests/misc/ls-time:
* tests/misc/nice:
* tests/misc/shred-remove:
* tests/misc/stty:
* tests/misc/stty-row-col:
* tests/mkdir/p-1:
* tests/mkdir/p-2:
* tests/mkdir/p-3:
* tests/mkdir/p-v:
* tests/mkdir/special-1:
* tests/mkdir/writable-under-readonly:
* tests/mv/acl:
* tests/mv/backup-is-src:
* tests/mv/diag:
* tests/mv/dir-file:
* tests/mv/force:
* tests/mv/hard-link-1:
* tests/mv/i-2:
* tests/mv/i-4:
* tests/mv/into-self:
* tests/mv/into-self-2:
* tests/mv/into-self-3:
* tests/mv/partition-perm:
* tests/mv/to-symlink:
* tests/rmdir/ignore:
* tests/tail-2/assert:
* tests/tail-2/assert-2:
* tests/touch/dangling-symlink:
* tests/touch/dir-1:
* tests/touch/empty-file:
* tests/touch/fifo:
* tests/touch/no-rights: Likewise.
Signed-off-by: Jim Meyering <meyering@redhat.com >
2008-03-28 14:21:28 +01:00
Jim Meyering
a669dfdabb
More misc, test-related changes. (some to allow running tests as root)
2007-09-15 08:40:39 +02:00
Jim Meyering
ceb5b04614
Convert tests/dd/*, too.
2007-09-15 08:40:38 +02:00
Jim Meyering
71aa3ea880
Update all copyright notices to use the newer form.
2007-07-23 14:35:58 +02:00
Jim Meyering
33342c1a0a
Change "version 2" to "version 3" in all copyright notices.
2007-07-10 13:35:56 +02:00
Paul Eggert
4e73fea3e3
Honor dd's noatime flag if possible, even if not supported on build fs
...
* doc/coreutils.texi (dd invocation): Warn that noatime might not be
reliable.
* src/dd.c (flags, usage): Look at O_NOATIME, not
HAVE_WORKING_O_NOATIME, to decide whether to support the noatime
flag, so that dd attempts O_NOATIME even if the build file system
does not support it. Problem reported by Jim Meyering today in
bug-coreutils.
* tests/dd/misc: Generate a warning, not a failure, if noatime
exists but fails.
2007-02-22 19:09:35 +01:00
Paul Eggert
f24ff8f42b
* NEWS: dd bs= operands now silently override later ibs= and obs=,
...
as POSIX requires.
* src/dd.c (scanargs): Implement it.
* tests/dd/misc (outbytes): Test it.
* doc/coreutils.texi (dd invocation): Specify that bs=N
overrides later ibs and obs, undoing part of the
previous change. (The behavior was wrong.)
2006-12-22 10:09:37 +01:00
Paul Eggert
218fa5c61b
Add/fix copyright notices and adjust to latest GNU FDL.
2006-08-17 19:58:17 +00:00
Paul Eggert
12565180f4
Add test cases for append, nofollow, directory,
...
and nolinks flags. Simplify redirection to /dev/null in some cases.
2006-03-08 18:57:55 +00:00
Paul Eggert
c66e95f41f
iflags->iflag. This fixes a typo that meant the
...
noatime test never tested anything.
2006-03-08 18:21:54 +00:00
Jim Meyering
078b4f861c
add comments
2005-12-09 21:52:50 +00:00
Paul Eggert
4713202758
Add test for dd iflags=noatime.
2005-12-09 21:48:38 +00:00
Paul Eggert
379580a006
Check for "dd --".
2004-09-19 01:45:48 +00:00
Jim Meyering
12562e897d
.
1999-04-11 02:17:48 +00:00