Denis Vlasenko 3952f20c24 expand, unexpand: new applets from Tito <farmatito@tiscali.it> 17 år sedan
..
basename 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 år sedan
bunzip2 a0782684fd * archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard 22 å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 20 å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 20 å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 20 å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 20 år sedan
expand 3952f20c24 expand, unexpand: new applets from Tito <farmatito@tiscali.it> 17 år sedan
expr 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 å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 20 år sedan
hostname 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 år sedan
id 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 år sedan
ln 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 å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 20 år sedan
pwd 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 å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 20 å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 eceecea568 - fix bug where we did not reject invalid classes like '[[:alpha' 17 år sedan
true 3889078dbe Merge test suite. 23 år sedan
unexpand 3952f20c24 expand, unexpand: new applets from Tito <farmatito@tiscali.it> 17 år sedan
uptime 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 år sedan
wc dccb1a5343 wc can emit unpredictable amount of whitespace 18 å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 20 å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 8274e06677 sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>) 17 år sedan
awk.tests 960eca66b5 awk: actually do "svn add" for testsuite 17 år sedan
bunzip2.tests de1c8b2e92 fix unpacker testsuite to match actual output 17 år sedan
busybox.tests 5dd1236f49 move source code tests out into a sep file rather than just disabling/breaking them 18 år sedan
bzcat.tests ab9eef21a5 bunzip2/gunzip/uncompress/unlzma: merge into common code - 17 år sedan
grep.tests 9213a9e0f2 whitespace cleanup 18 år sedan
gunzip.tests ab9eef21a5 bunzip2/gunzip/uncompress/unlzma: merge into common code - 17 å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 018e085d44 stop using bash'isms ('function') 18 år sedan
sed.tests 4b0bb9e0fd sed: fix very obscure case of escaped newline in sed command 17 år sedan
seq.tests 67d5b8b5b1 Minor tweaks: remove traces of old $COMMAND environment variable. 18 år sedan
sort.tests 54cf511ce1 sort: fix multiple -k (was ignoring all except last) 18 år sedan
sum.tests 14813c5943 - add a very few simple test for sum. 18 år sedan
taskset.tests 70722ec4ce - pull taskset.tests from the busybox_scratch branch 18 år sedan
testing.sh 8274e06677 sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>) 17 år sedan
umlwrapper.sh dcb2122e85 My mount testsuite. Not automatically run at the moment, need to figure out 18 å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.