Jim Meyering
19785d4bfe
(test_vector): Disable the `PIPE' tests when running
...
`wc' with no options. This goes along with the change of 2003-07-20.
2003-07-24 07:13:10 +00:00
Jim Meyering
9c8f60eaa0
(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.
2003-07-23 07:03:42 +00:00
Jim Meyering
6cf4280099
Add a check for whether $NON_ROOT_USERNAME
...
can access the required version of rm.
2003-07-23 07:03:31 +00:00
Jim Meyering
5256994141
.
2003-07-23 07:01:36 +00:00
Jim Meyering
24ec26fbca
(out-delim3a): New test.
2003-07-23 07:01:19 +00:00
Jim Meyering
873a22151f
.
2003-07-23 06:59:26 +00:00
Jim Meyering
c55974d115
New test for the above fix.
2003-07-22 12:44:22 +00:00
Jim Meyering
b17a0f8d39
Adjust to the new output widths.
2003-07-20 15:24:52 +00:00
Jim Meyering
51ff0dc7c0
Restore definition of $verbose.
2003-07-19 12:00:38 +00:00
Jim Meyering
30c42b2089
Don't create temporary directory -- we don't use it.
2003-07-19 11:59:12 +00:00
Jim Meyering
afd207eda5
remove now-redundant VERSION check
2003-07-19 11:54:39 +00:00
Jim Meyering
d7a263ce2a
Don't open-code test for UID != 0.
...
Use priv-check's require-non-root instead.
Update to use newer framework.
2003-07-19 11:47:17 +00:00
Jim Meyering
1f3c90c6a5
(expected_failure_status_expr): Record that
...
expr exits with status of 3 for e.g., a write error.
2003-07-19 11:39:22 +00:00
Jim Meyering
1d510c3f9b
Use `id -u' to see if we're running as root,
...
rather than trying go write to an write-protected file.
When running as root, ensure $NON_ROOT_USERNAME is valid.
When running as root with `require-non-root', ensure that `.'
is writable by $NON_ROOT_USERNAME, then reinvoke $0 set-user-ID
to $NON_ROOT_USERNAME. If `.' is not writable, then skip the test.
2003-07-19 11:19:12 +00:00
Jim Meyering
05b4128b5d
Update to use newer framework.
2003-07-18 09:48:16 +00:00
Jim Meyering
c42d31bc78
Use $srcdir/../priv-check, create a temporary
...
directory, and remove Perl-coded `you may not run as root' test.
2003-07-18 09:12:23 +00:00
Jim Meyering
10c48512f0
Use $srcdir/../priv-check, rather than
...
hard-coding something not quite equivalent. Reported by Paul Jarc.
2003-07-18 09:05:49 +00:00
Jim Meyering
daced4a5fb
(--help/--version vs. /dev/full): Special-case
...
`[' to protect it from expected_failure_status-`eval'.
2003-07-18 08:11:55 +00:00
Jim Meyering
4efc97aa9f
(101, 102): Update tests of -c accordingly.
2003-07-18 08:01:26 +00:00
Jim Meyering
c7e335bcda
Add tests when exit status is 2.
2003-07-18 07:29:01 +00:00
Jim Meyering
7a0ebf5a7b
Invalid value exits with status 3, not 2.
2003-07-18 07:25:39 +00:00
Jim Meyering
3497dfc9c1
.
2003-07-17 22:27:44 +00:00
Jim Meyering
f373160c3d
This script would have caught at least two recent bugs: those in [ and kill.
...
Revive this script.
It wasn't doing anything useful, since $all_programs wasn't being
defined by the invoking Makefile.am.
Reflect that nohup is no longer a script, so don't exclude it.
Add framework to handle the programs added since it was last run:
kill, stat, unlink, [, link, readlink.
Fix path-related problems deriving from the move of this script
from src/ to its present location.
2003-07-16 19:54:13 +00:00
Jim Meyering
9416c7da09
(all_programs): Define.
...
(TESTS_ENVIRONMENT): Use it.
2003-07-16 19:51:05 +00:00
Jim Meyering
f7ed03fa50
Remove setuidgid-related code. Moved to ../priv-check.
2003-07-16 08:31:04 +00:00
Jim Meyering
a0306325d2
Move setuidgid-related and
...
NON_ROOT_USERNAME-checking code to this file.
2003-07-16 08:30:06 +00:00
Jim Meyering
d61aba00f0
add another test
2003-07-13 09:27:34 +00:00
Jim Meyering
32a2c6f6d9
.
2003-07-12 20:47:23 +00:00
Jim Meyering
f328802261
Also check `test -t 1'.
...
This is necessary on linux-2.4.21, otherwise, the test
stty/basic-1 would hang when run in the background.
2003-07-12 07:33:35 +00:00
Jim Meyering
6f7b4ca60a
ARgh. nearly every test depends on whether stdout and/or stderr is a tty.
2003-07-11 21:57:18 +00:00
Jim Meyering
eabefdb575
.
2003-07-11 20:40:56 +00:00
Jim Meyering
a79673ff2a
Also fail if cat-to-create-expected-output
...
fails. Otherwise, if both `exp' and `out' end up empty because
of e.g., a full disk, they would mistakenly compare equal.
2003-07-11 20:40:28 +00:00
Jim Meyering
326b48f041
(TESTS): Add nohup.
2003-07-11 20:35:29 +00:00
Jim Meyering
6f7e60b1f4
tests for the new nohup.c
2003-07-11 20:34:58 +00:00
Jim Meyering
112cba9a8b
.
2003-07-11 06:07:04 +00:00
Jim Meyering
aacb015d41
Now that we have setuidgid, use it in place of the kludge in this test.
2003-07-10 15:47:36 +00:00
Jim Meyering
3a7b7b002d
.
2003-07-09 17:55:29 +00:00
Jim Meyering
6d2bd321e8
(TESTS): Add slash
2003-07-09 10:00:09 +00:00
Jim Meyering
6d43a16e3f
New file/test for today's lib/ftw.c fix.
2003-07-09 09:59:58 +00:00
Jim Meyering
fb864a8db7
Add tests of head's new --lines=-N
...
option, and perform the 1600 invocations of head IFF the envvar
RUN_EXPENSIVE_TESTS is set.
2003-07-04 10:15:47 +00:00
Jim Meyering
0c2dd1fe07
Also use --verbose and compare stderr output with what we'd expect.
2003-06-27 07:51:30 +00:00
Jim Meyering
40959940d9
.
2003-06-12 20:02:07 +00:00
Jim Meyering
068f2224f9
Add a test for the new format, e.g., May-23-2003.
2003-06-10 06:37:03 +00:00
Jim Meyering
1e006fb1ea
.
2003-06-06 23:04:56 +00:00
Jim Meyering
71bf6b1420
.
2003-06-06 07:04:45 +00:00
Jim Meyering
ddfb52fb2f
.
2003-05-29 19:53:52 +00:00
Jim Meyering
fab4d80dfb
New tests for --check exit status, and for BSD-style checksum files.
2003-05-24 16:55:21 +00:00
Jim Meyering
92359d2df0
Make sure `sha1sum --check' doesn't accept the BSD format.
2003-05-24 16:49:40 +00:00
Jim Meyering
b438bad2a8
.
2003-05-14 14:21:18 +00:00
Jim Meyering
8f4221ebd2
Skip this test if `.' is on an XFS file system.
2003-05-14 14:20:23 +00:00