summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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*** empty log message ***Jim Meyering
2003-07-18(main): Use close_stdout via atexit.Jim Meyering
Now `sort --version' and `sort --help' fail, as they should when their output is redirected to /dev/full.
2003-07-18(usage): Don't call close_stdout here.Jim Meyering
(main): Use close_stdout via atexit. Now `su --version > /dev/full' fails, as it should. Somehow, the change of 2000-05-07 that purports to fix this was not checked in.
2003-07-18*** empty log message ***Jim Meyering
2003-07-18*** empty log message ***Jim Meyering
2003-07-18(--help/--version vs. /dev/full): Special-caseJim Meyering
`[' to protect it from expected_failure_status-`eval'.
2003-07-18*** empty log message ***Jim Meyering
2003-07-18(101, 102): Update tests of -c accordingly.Jim Meyering
2003-07-18*** empty log message ***Jim Meyering
2003-07-18(expr invocation): Exit status is 2 if theJim Meyering
expression is syntactically invalid, 3 if there is some other error. This change is for conformance to POSIX.
2003-07-18*** empty log message ***Jim Meyering
2003-07-18*** empty log message ***Jim Meyering
2003-07-18(writeline): Use a SPACE, not a TAB between theJim Meyering
count and the corresponding line, as required by POSIX.
2003-07-18*** empty log message ***Jim Meyering
2003-07-18*** empty log message ***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-18Include "exitfail.h".Jim Meyering
(main): Set exit_failure, not xalloc_exit_failure and xmemcoll_exit_failure.
2003-07-18Include "exitfail.h", "quotearg.h".Jim Meyering
(EXPR_INVALID, EXPR_ERROR): New constants. (nomoreargs, null, toarith, nextarg): Return bool, not int. (syntax_error): New function, exiting with status 2. Use it insteading of printing "syntax error" ourselves. (main): Initialize exit_failure to EXPR_ERROR. Exit with EXPR_INVALID on syntax error (too few arguments). (nextarg): Use strcmp, not strcoll; strcoll might return an undesirable 0, or might fail. (docolon, eval4, eval3): Exit with status 3 on invalid argument type or other such error. (eval2): Report an error if strcoll fails in a string comparison.
2003-07-18(NOHUP_FOUND_BUT_CANNOT_INVOKE, NOHUP_FAILURE):Jim Meyering
Use an anonymous `enum', rather than #define.
2003-07-18*** empty log message ***Jim Meyering
2003-07-18Merge with gnulib. Use a single exit_failure variable ratherJim Meyering
than a separate one for each module.
2003-07-18Merge with gnulib. Use a single exit_failure variable ratherJim Meyering
than a separate one for each module.
2003-07-18Merge with gnulib. Use a single exit_failure variable ratherJim Meyering
than a separate one for each module.
2003-07-18Merge with gnulib. Use a single exit_failure variable ratherJim Meyering
than a separate one for each module.
2003-07-18*** empty log message ***Jim Meyering
2003-07-18*** empty log message ***Jim Meyering
2003-07-18.Jim Meyering
2003-07-17.Jim Meyering
2003-07-16*** empty log message ***Jim Meyering
2003-07-16*** empty log message ***Jim Meyering
2003-07-16Use 5.0.90, rather than 5.0.2, per GNU maintainerJim Meyering
guidelines. The next non-beta release will be 5.1.
2003-07-16*** empty log message ***Jim Meyering
2003-07-16*** empty log message ***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-16*** empty log message ***Jim Meyering
2003-07-16(main): Fix bug introduced on 2003-05-10 (for 5.0.1)Jim Meyering
whereby kill would always attempt to operate on argv[0] and fail.
2003-07-16.Jim Meyering
2003-07-16*** empty log message ***Jim Meyering
2003-07-16(integer_expected_error): Improve diagnostic -- now,Jim Meyering
it also matches the one from bash's builtin test. (binary_operator): Add \n at end of diagnostic.
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-16*** empty log message ***Jim Meyering
2003-07-16Update section on testing as `root'.Jim Meyering
Suggestion from Paul Jarc.
2003-07-16(AUTHORS): Replace 3-letter usernames with the actualJim Meyering
names of authors that I just found in bash's builtins/test.def.
2003-07-16*** empty log message ***Jim Meyering
2003-07-16Running `[' with no arguments would evoke a segfault.Jim Meyering
(main) [LBRACKET]: Move initialization of argv to precede potential use via test_syntax_error.