Commit Graph

2162 Commits

Author SHA1 Message Date
Jim Meyering dcdee393d7 . 2003-08-15 06:54:15 +00:00
Jim Meyering 2faafb8512 (ASSORT): New var.
(all_programs): Use it.
2003-08-15 06:53:38 +00:00
Jim Meyering 31f092ff08 . 2003-08-11 18:25:04 +00:00
Jim Meyering 7f502e489c test for fix of 2003-08-11 2003-08-11 14:35:13 +00:00
Jim Meyering 2a06944a15 (TESTS): Add fold. 2003-08-11 14:34:51 +00:00
Jim Meyering cc586690cf Tweak Solaris OS version number in comment. 2003-08-09 16:35:19 +00:00
Jim Meyering 8b56ea9ff5 Ensure that a/b/F has at least 65 bytes too. 2003-08-09 11:38:57 +00:00
Jim Meyering 7a4363a7ba . 2003-08-09 10:56:40 +00:00
Jim Meyering 5d70602ed3 Reflect that `split -a 0' is now accepted. 2003-08-09 09:46:13 +00:00
Jim Meyering 5a6401d82e . 2003-08-06 19:36:32 +00:00
Jim Meyering fa446c2243 . 2003-08-02 20:07:12 +00:00
Jim Meyering 40944ce6ce Add a test for the above fix.
`cut -f2' would read after EOF.
2003-08-02 19:41:28 +00:00
Jim Meyering 572d582d8d Ensure that $? is 0 for the final `exit 0'.
Otherwise, with at least the /bin/sh from HPUX 10.20,
the trap code would end up converting that to exit 1 and thus an
unexpected test failure.  Reported by Christian Krackowizer.
2003-08-01 22:33:04 +00:00
Jim Meyering f9bbf80f93 (TESTS_ENVIRONMENT): Set PATH so that
the tests in help-version will use the just-built binaries.
2003-08-01 22:32:41 +00:00
Jim Meyering ff83ba2830 . 2003-07-29 06:44:28 +00:00
Jim Meyering 7261a4b4d8 (all_programs): Makefile is in ../src, not $(srcdir)/../src. 2003-07-29 06:41:08 +00:00
Jim Meyering a458a6984e (my_uid): Use !', not ^' in case pattern `[!0-9]',
since /bin/sh of at least NetBSD 1.6 and OpenBSD 3.2 don't accept `^'.
2003-07-27 20:04:48 +00:00
Jim Meyering d529228c88 . 2003-07-27 19:48:11 +00:00
Jim Meyering 5395255560 (TESTS): Add dir-no-w. 2003-07-27 19:47:58 +00:00
Jim Meyering bf04c616ae *** empty log message *** 2003-07-27 19:47:46 +00:00
Jim Meyering 4b64fb9a6a regenerate 2003-07-27 10:01:25 +00:00
Jim Meyering 1b675cd273 Emit `$xx', not its expansion. 2003-07-27 08:51:12 +00:00
Jim Meyering e206ab7b6f . 2003-07-26 14:54:50 +00:00
Jim Meyering 7c67ca4a3e (test_vector): Add several tests to check the changes of 2003-07-24.
Syntax errors now exit with status 2, not 1.
2003-07-26 12:23:27 +00:00
Jim Meyering 40d1cfe729 Adjust for above change in test behavior:
`[' exits with 2, not 1, and test doesn't accept --help or --version.
2003-07-26 06:48:40 +00:00
Jim Meyering bf7cca9996 . 2003-07-26 06:32:04 +00:00
Jim Meyering afbd32c040 Disable the --line-bytes=$_4gb test,
because it'd evoke spurious failure on 64-bit systems.
2003-07-25 07:23:40 +00:00
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