Bernhard Reutner-Fischer 1ca74185c4 - pull r17554 and r17555 from trunk: 18 år sedan
..
basename 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
bunzip2 a0782684fd * archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard 23 år sedan
cat 3889078dbe Merge test suite. 23 år sedan
cmp 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
cp 9213a9e0f2 whitespace cleanup 18 år sedan
cut 3889078dbe Merge test suite. 23 år sedan
date 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
dd 3889078dbe Merge test suite. 23 år sedan
dirname 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
du 7daa076d3e egor duda writes: 20 år sedan
echo 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
expr 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
false f3fbe20c35 * cmp/cmp-detects-difference: Simplify return code negation. 23 år sedan
find d9c8ab40a4 Update status of tests which should pass 21 år sedan
gunzip 50aec98e1c * testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags. 23 år sedan
gzip 9bd49d6a22 * archival/gzip.c (ifname, ofname): Delete. 23 år sedan
head 7daa076d3e egor duda writes: 20 år sedan
hostid 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
hostname 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
id 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
ln 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
ls 546a99db1d use LC_ALL, not LANG, for forcing C 19 år sedan
md5sum 03bb3088b0 New. 23 år sedan
mkdir 3889078dbe Merge test suite. 23 år sedan
msh 3889078dbe Merge test suite. 23 år sedan
mv 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
pwd 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
rm b89637a037 New. 23 år sedan
rmdir 3889078dbe Merge test suite. 23 år sedan
strings 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
tail 7daa076d3e egor duda writes: 20 år sedan
tar 06ab5fb6b9 tar: tar xf foo.tar dir/dir did not extract all subdirs. 18 år sedan
tee 3889078dbe Merge test suite. 23 år sedan
touch 07a37aebf5 New. 23 år sedan
tr 9213a9e0f2 whitespace cleanup 18 år sedan
true 3889078dbe Merge test suite. 23 år sedan
uptime 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
wc 3889078dbe Merge test suite. 23 år sedan
wget 0efab3319d * networking/wget.c (parse_url): Allocate a string for the empty path. 23 år sedan
which 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 21 år sedan
xargs 7daa076d3e egor duda writes: 20 år sedan
README 06ab5fb6b9 tar: tar xf foo.tar dir/dir did not extract all subdirs. 18 år sedan
TODO c98a359a16 It was a bit out of date. 19 år sedan
all_sourcecode.tests 73561cc75a - pull from busybox_scratch: r15829:15850 18 år sedan
busybox.tests 5dd1236f49 move source code tests out into a sep file rather than just disabling/breaking them 19 år sedan
grep.tests 9213a9e0f2 whitespace cleanup 18 år sedan
mount.testroot 9213a9e0f2 whitespace cleanup 18 år sedan
pidof.tests 9213a9e0f2 whitespace cleanup 18 år sedan
readlink.tests 9213a9e0f2 whitespace cleanup 18 år sedan
runtest 89a22ea5d9 make the testsuite a little less brittle: 18 år sedan
sed.tests 9213a9e0f2 whitespace cleanup 18 år sedan
seq.tests 67d5b8b5b1 Minor tweaks: remove traces of old $COMMAND environment variable. 18 år sedan
sort.tests 8336f080cb diff: small optimizations; do not try to diff non-seekable stream 18 år sedan
sum.tests 1ca74185c4 - pull r17554 and r17555 from trunk: 18 år sedan
taskset.tests 70722ec4ce - pull taskset.tests from the busybox_scratch branch 18 år sedan
testing.sh 9213a9e0f2 whitespace cleanup 18 år sedan
umlwrapper.sh dcb2122e85 My mount testsuite. Not automatically run at the moment, need to figure out 19 år sedan
uniq.tests 9213a9e0f2 whitespace cleanup 18 år sedan
unzip.tests 641c3537c0 Add a test from Glenn. 18 år sedan
uuencode.tests 21afc7dc29 uuencode: common implementation for wget and uuencode (closing bug 694) 18 år sedan

README

Update: doesn't work as described. Try "make check" from parent dir...
* * *

To run the test suite, change to this directory and run "./runtest". It will
run all of the test cases, and list those with unexpected outcomes. Adding the
-v option will cause it to show expected outcomes as well. To only run the test
cases for particular applets, specify them as parameters to runtest.

The test cases for an applet reside in the subdirectory of the applet name. The
name of the test case should be the assertion that is tested. The test case
should be a shell fragment that returns successfully if the test case passes,
and unsuccessfully otherwise.

If the test case relies on a certain feature, it should include the string
"FEATURE: " followed by the name of the feature in a comment. If it is always
expected to fail, it should include the string "XFAIL" in a comment.

For the entire testsuite, the copyright is as follows:

Copyright (C) 2001, 2002 Matt Kraai

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.