diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-26 05:38:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-26 05:38:20 +0000 |
commit | 4e1e7205235510b3adeb415b4d8997932276cb81 (patch) | |
tree | e2d874580db07b436cbb0e6b326adbf0438a3e3e /testsuite/runtest | |
parent | ed270a5f32e4fee0d4b30595c888df54ac878fba (diff) | |
download | busybox-w32-4e1e7205235510b3adeb415b4d8997932276cb81.tar.gz busybox-w32-4e1e7205235510b3adeb415b4d8997932276cb81.tar.bz2 busybox-w32-4e1e7205235510b3adeb415b4d8997932276cb81.zip |
testsuite: add tests for cut and grep;
slight improvements to infrastructure
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-x | testsuite/runtest | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest index 0f081f9a5..92cbfdf4e 100755 --- a/testsuite/runtest +++ b/testsuite/runtest | |||
@@ -127,7 +127,7 @@ for applet in $applets; do | |||
127 | echo "SKIPPED: $applet (not built)" | 127 | echo "SKIPPED: $applet (not built)" |
128 | continue | 128 | continue |
129 | fi | 129 | fi |
130 | if PATH="$LINKSDIR":$tsdir:$bindir:$PATH \ | 130 | if PATH="$LINKSDIR:$tsdir:$bindir:$PATH" \ |
131 | "${tsdir:-.}/$applet".tests | 131 | "${tsdir:-.}/$applet".tests |
132 | then | 132 | then |
133 | : | 133 | : |
@@ -137,5 +137,11 @@ for applet in $applets; do | |||
137 | fi | 137 | fi |
138 | 138 | ||
139 | done | 139 | done |
140 | rm -rf "$LINKSDIR" | 140 | |
141 | # Leaving the dir makes it somewhat easier to run failed test by hand | ||
142 | #rm -rf "$LINKSDIR" | ||
143 | |||
144 | if [ $status != 0 -a x"$VERBOSE" = x ]; then | ||
145 | echo "Failures detected, running with VERBOSE=1 will give more info" | ||
146 | fi | ||
141 | exit $status | 147 | exit $status |