Rob Landley
|
a125ba10bc
Fix TEST_HOST path using symlinked command.
|
2 years ago |
Rob Landley
|
de474ba039
Fix "make tests" exiting on failure when test run in subshell.
|
3 years ago |
Rob Landley
|
e00b4c2655
Clear environment variables between tests.
|
3 years ago |
Rob Landley
|
d6a0b3031f
Have "make tests" fail if any of the tests failed.
|
4 years ago |
Rob Landley
|
6b6436c848
Fix syntax checking for "if true; then echo hello | fi", fix some tests,
|
4 years ago |
Rob Landley
|
ce67bb5ac8
Teach scripts/test.sh to skip TEST_HOST commands that aren't installed.
|
4 years ago |
Rob Landley
|
01864337c4
Fix "make tests". (realpath was replacing command name with "toybox".)
|
4 years ago |
Rob Landley
|
b35e4740b3
Resolve absolute paths in places input can vary.
|
4 years ago |
Rob Landley
|
c77018116c
testcmd shouldn't use shell builtin for TEST_HOST unless there isn't
|
5 years ago |
Rob Landley
|
fe12fb5146
Do a rm -rf of testdir between each command so debris files don't accumulate.
|
5 years ago |
Rob Landley
|
b67a5a07b0
Have test.sh use portability.sh too.
|
5 years ago |
Rob Landley
|
80e5d01eb0
Break runtest.sh out again: the Android devs were using it.
|
5 years ago |
Rob Landley
|
b742998a26
Teach testcmd to say short name rather than full path.
|
5 years ago |
Rob Landley
|
01844db4fb
Merge runtest.sh into test.sh.
|
5 years ago |
Rob Landley
|
7f062f2dcf
Skip tests that don't have the executable bit set unless $TEST_ALL set.
|
5 years ago |
Rob Landley
|
6e2ef60264
testcmd should only use absolute path to command when not doing TEST_HOST.
|
7 years ago |
Rob Landley
|
ee14fc396d
Test infrastructure: collate make "test_single" and "make tests" into common
|
7 years ago |
Rob Landley
|
1ffa7f45eb
Fix bzcat.test (as noted by Andy Chu), wean tests off $TOPDIR and supply $FILES
|
8 years ago |
Rob Landley
|
336c44adca
Factor out command name at the start of test name, have runtest.sh print it.
|
8 years ago |
Rob Landley
|
deb31c8294
Locale setting is case sensitive.
|
8 years ago |
Rob Landley
|
7ca907824d
Fix sort -f, add tests, make TEST_HOST pass new tests.
|
8 years ago |
Rob Landley
|
387edf547e
Move testsuite out of scripts/test into its own top level tests directory, and make ctrl-c kill "make test" more reliably.
|
9 years ago |
Rob Landley
|
4a855d6cf6
Have "make test" run tests in testdir/testdir instead of same directory as command symlinks. (Makes cleanup easier.)
|
10 years ago |
Rob Landley
|
dcf52cbf25
Remove leftover debris from scripts/test.sh that screws up single tests with single.sh.
|
10 years ago |
Rob Landley
|
26f52eb13e
Teach scripts/test.sh to call scripts/single.sh.
|
10 years ago |
Rob Landley
|
728c94a002
Work around a Bash bug that removes "." from the $PATH when you're root. (The FSF believes it knows better than you, and won't let you do things, in the name of Freedom.)
|
12 years ago |
Rob Landley
|
37256ff6f3
Adjust "optional" function (gen_config.h became generated/config.h).
|
16 years ago |
Rob Landley
|
e156d44eb2
More tweaks to rmdir.test and the testing infrastructure.
|
16 years ago |
Rob Landley
|
c564834cdc
Teach run-all-tests mode to only test enabled commands.
|
16 years ago |
Rob Landley
|
9d243a2efc
Update help, move test.sh to scripts, and fix "make test" to call right script.
|
16 years ago |