diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-23 15:44:46 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-23 15:44:46 +0000 |
commit | b47a74f4e773dee93c60116dd34c002c7c118d0b (patch) | |
tree | 7adcb31fbbb5e204ab577cbe31c2f72cb3b5387f /testsuite/uniq.tests | |
parent | 0a44c1777134281be6b00c69b8d6b8668ea1dbf9 (diff) | |
download | busybox-w32-b47a74f4e773dee93c60116dd34c002c7c118d0b.tar.gz busybox-w32-b47a74f4e773dee93c60116dd34c002c7c118d0b.tar.bz2 busybox-w32-b47a74f4e773dee93c60116dd34c002c7c118d0b.zip |
- introduce variable _BB_CONFIG_DEP to the new test harness.
This is used to see if given tests should be run (are available) or not.
Print "UNTESTED: descr" if the applet or feature is not available.
- add _BB_CONFIG_DEP to existing new.tests
- move old grep test to new test infrastructure and add a few more test for
grep.
Diffstat (limited to 'testsuite/uniq.tests')
-rwxr-xr-x | testsuite/uniq.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/uniq.tests b/testsuite/uniq.tests index 95764740b..27d9561e1 100755 --- a/testsuite/uniq.tests +++ b/testsuite/uniq.tests | |||
@@ -9,6 +9,9 @@ | |||
9 | if [ ${#COMMAND} -eq 0 ]; then COMMAND=uniq; fi | 9 | if [ ${#COMMAND} -eq 0 ]; then COMMAND=uniq; fi |
10 | . testing.sh | 10 | . testing.sh |
11 | 11 | ||
12 | # Depends on uniq | ||
13 | _BB_CONFIG_DEP=uniq | ||
14 | |||
12 | # testing "test name" "options" "expected result" "file input" "stdin" | 15 | # testing "test name" "options" "expected result" "file input" "stdin" |
13 | # file input will be file called "input" | 16 | # file input will be file called "input" |
14 | # test can create a file "actual" instead of writing to stdout | 17 | # test can create a file "actual" instead of writing to stdout |