Denis Vlasenko 3952f20c24 expand, unexpand: new applets from Tito <farmatito@tiscali.it> 17 years ago
..
basename 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
bunzip2 a0782684fd * archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard 22 years ago
cat 3889078dbe Merge test suite. 23 years ago
cmp 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
cp 9213a9e0f2 whitespace cleanup 18 years ago
cut 3889078dbe Merge test suite. 23 years ago
date 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
dd 3889078dbe Merge test suite. 23 years ago
dirname 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
du 7daa076d3e egor duda writes: 20 years ago
echo 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
expand 3952f20c24 expand, unexpand: new applets from Tito <farmatito@tiscali.it> 17 years ago
expr 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
false f3fbe20c35 * cmp/cmp-detects-difference: Simplify return code negation. 23 years ago
find d9c8ab40a4 Update status of tests which should pass 21 years ago
gunzip 50aec98e1c * testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags. 23 years ago
gzip 9bd49d6a22 * archival/gzip.c (ifname, ofname): Delete. 23 years ago
head 7daa076d3e egor duda writes: 20 years ago
hostid 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
hostname 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
id 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
ln 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
ls 546a99db1d use LC_ALL, not LANG, for forcing C 19 years ago
md5sum 03bb3088b0 New. 23 years ago
mkdir 3889078dbe Merge test suite. 23 years ago
msh 3889078dbe Merge test suite. 23 years ago
mv 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
pwd 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
rm b89637a037 New. 23 years ago
rmdir 3889078dbe Merge test suite. 23 years ago
strings 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
tail 7daa076d3e egor duda writes: 20 years ago
tar 06ab5fb6b9 tar: tar xf foo.tar dir/dir did not extract all subdirs. 18 years ago
tee 3889078dbe Merge test suite. 23 years ago
touch 07a37aebf5 New. 23 years ago
tr eceecea568 - fix bug where we did not reject invalid classes like '[[:alpha' 17 years ago
true 3889078dbe Merge test suite. 23 years ago
unexpand 3952f20c24 expand, unexpand: new applets from Tito <farmatito@tiscali.it> 17 years ago
uptime 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
wc dccb1a5343 wc can emit unpredictable amount of whitespace 18 years ago
wget 0efab3319d * networking/wget.c (parse_url): Allocate a string for the empty path. 23 years ago
which 650fe63467 Kill off the old 'tests' stuff. Write a ton of new tests for the 20 years ago
xargs 7daa076d3e egor duda writes: 20 years ago
README 06ab5fb6b9 tar: tar xf foo.tar dir/dir did not extract all subdirs. 18 years ago
TODO c98a359a16 It was a bit out of date. 19 years ago
all_sourcecode.tests 8274e06677 sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>) 17 years ago
awk.tests 960eca66b5 awk: actually do "svn add" for testsuite 17 years ago
bunzip2.tests de1c8b2e92 fix unpacker testsuite to match actual output 17 years ago
busybox.tests 5dd1236f49 move source code tests out into a sep file rather than just disabling/breaking them 18 years ago
bzcat.tests ab9eef21a5 bunzip2/gunzip/uncompress/unlzma: merge into common code - 17 years ago
grep.tests 9213a9e0f2 whitespace cleanup 18 years ago
gunzip.tests ab9eef21a5 bunzip2/gunzip/uncompress/unlzma: merge into common code - 17 years ago
mount.testroot 9213a9e0f2 whitespace cleanup 18 years ago
pidof.tests 9213a9e0f2 whitespace cleanup 18 years ago
readlink.tests 9213a9e0f2 whitespace cleanup 18 years ago
runtest 018e085d44 stop using bash'isms ('function') 18 years ago
sed.tests 4b0bb9e0fd sed: fix very obscure case of escaped newline in sed command 17 years ago
seq.tests 67d5b8b5b1 Minor tweaks: remove traces of old $COMMAND environment variable. 18 years ago
sort.tests 54cf511ce1 sort: fix multiple -k (was ignoring all except last) 18 years ago
sum.tests 14813c5943 - add a very few simple test for sum. 18 years ago
taskset.tests 70722ec4ce - pull taskset.tests from the busybox_scratch branch 18 years ago
testing.sh 8274e06677 sed: fix 'q' command handling ("Nguyen Thai Ngoc Duy" <pclouds@gmail.com>) 17 years ago
umlwrapper.sh dcb2122e85 My mount testsuite. Not automatically run at the moment, need to figure out 18 years ago
uniq.tests 9213a9e0f2 whitespace cleanup 18 years ago
unzip.tests 641c3537c0 Add a test from Glenn. 18 years ago
uuencode.tests 21afc7dc29 uuencode: common implementation for wget and uuencode (closing bug 694) 18 years ago

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.