summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2003-07-26.Jim Meyering
2003-07-26(test_vector): Add several tests to check the changes of 2003-07-24.Jim Meyering
Syntax errors now exit with status 2, not 1.
2003-07-26Adjust for above change in test behavior:Jim Meyering
`[' exits with 2, not 1, and test doesn't accept --help or --version.
2003-07-26.Jim Meyering
2003-07-25Disable the --line-bytes=$_4gb test,Jim Meyering
because it'd evoke spurious failure on 64-bit systems.
2003-07-24(test_vector): Disable the `PIPE' tests when runningJim Meyering
`wc' with no options. This goes along with the change of 2003-07-20.
2003-07-23(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.Jim Meyering
2003-07-23Add a check for whether $NON_ROOT_USERNAMEJim Meyering
can access the required version of rm.
2003-07-23.Jim Meyering
2003-07-23(out-delim3a): New test.Jim Meyering
2003-07-23.Jim Meyering
2003-07-22New test for the above fix.Jim Meyering
2003-07-20Adjust to the new output widths.Jim Meyering
2003-07-19Restore definition of $verbose.Jim Meyering
2003-07-19Don't create temporary directory -- we don't use it.Jim Meyering
2003-07-19remove now-redundant VERSION checkJim Meyering
2003-07-19Don't open-code test for UID != 0.Jim Meyering
Use priv-check's require-non-root instead. Update to use newer framework.
2003-07-19(expected_failure_status_expr): Record thatJim Meyering
expr exits with status of 3 for e.g., a write error.
2003-07-19Use `id -u' to see if we're running as root,Jim Meyering
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-18Update to use newer framework.Jim Meyering
2003-07-18Use $srcdir/../priv-check, create a temporaryJim Meyering
directory, and remove Perl-coded `you may not run as root' test.
2003-07-18Use $srcdir/../priv-check, rather thanJim Meyering
hard-coding something not quite equivalent. Reported by Paul Jarc.
2003-07-18(--help/--version vs. /dev/full): Special-caseJim Meyering
`[' to protect it from expected_failure_status-`eval'.
2003-07-18(101, 102): Update tests of -c accordingly.Jim Meyering
2003-07-18Add tests when exit status is 2.Jim Meyering
2003-07-18Invalid value exits with status 3, not 2.Jim Meyering
2003-07-17.Jim Meyering
2003-07-16This script would have caught at least two recent bugs: those in [ and kill.Jim Meyering
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(all_programs): Define.Jim Meyering
(TESTS_ENVIRONMENT): Use it.
2003-07-16Remove setuidgid-related code. Moved to ../priv-check.Jim Meyering
2003-07-16Move setuidgid-related andJim Meyering
NON_ROOT_USERNAME-checking code to this file.
2003-07-13add another testJim Meyering
2003-07-12.Jim Meyering
2003-07-12Also check `test -t 1'.Jim Meyering
This is necessary on linux-2.4.21, otherwise, the test stty/basic-1 would hang when run in the background.
2003-07-11ARgh. nearly every test depends on whether stdout and/or stderr is a tty.Jim Meyering
2003-07-11.Jim Meyering
2003-07-11Also fail if cat-to-create-expected-outputJim Meyering
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(TESTS): Add nohup.Jim Meyering
2003-07-11tests for the new nohup.cJim Meyering
2003-07-11.Jim Meyering
2003-07-10Now that we have setuidgid, use it in place of the kludge in this test.Jim Meyering
2003-07-09.Jim Meyering
2003-07-09(TESTS): Add slashJim Meyering
2003-07-09New file/test for today's lib/ftw.c fix.Jim Meyering
2003-07-04Add tests of head's new --lines=-NJim Meyering
option, and perform the 1600 invocations of head IFF the envvar RUN_EXPENSIVE_TESTS is set.
2003-06-27Also use --verbose and compare stderr output with what we'd expect.Jim Meyering
2003-06-12.Jim Meyering
2003-06-10Add a test for the new format, e.g., May-23-2003.Jim Meyering
2003-06-06.Jim Meyering
2003-06-06.Jim Meyering