8053 beefd0184a 2022-08-08 ct_chen před 2 roky
..
basename beefd0184a 2022-08-08 ct_chen před 2 roky
bunzip2 beefd0184a 2022-08-08 ct_chen před 2 roky
bzcat beefd0184a 2022-08-08 ct_chen před 2 roky
cat beefd0184a 2022-08-08 ct_chen před 2 roky
cmp beefd0184a 2022-08-08 ct_chen před 2 roky
cp beefd0184a 2022-08-08 ct_chen před 2 roky
cut beefd0184a 2022-08-08 ct_chen před 2 roky
date beefd0184a 2022-08-08 ct_chen před 2 roky
dd beefd0184a 2022-08-08 ct_chen před 2 roky
dirname beefd0184a 2022-08-08 ct_chen před 2 roky
du beefd0184a 2022-08-08 ct_chen před 2 roky
echo beefd0184a 2022-08-08 ct_chen před 2 roky
expand beefd0184a 2022-08-08 ct_chen před 2 roky
expr beefd0184a 2022-08-08 ct_chen před 2 roky
false beefd0184a 2022-08-08 ct_chen před 2 roky
find beefd0184a 2022-08-08 ct_chen před 2 roky
gunzip beefd0184a 2022-08-08 ct_chen před 2 roky
gzip beefd0184a 2022-08-08 ct_chen před 2 roky
head beefd0184a 2022-08-08 ct_chen před 2 roky
hostid beefd0184a 2022-08-08 ct_chen před 2 roky
hostname beefd0184a 2022-08-08 ct_chen před 2 roky
id beefd0184a 2022-08-08 ct_chen před 2 roky
ln beefd0184a 2022-08-08 ct_chen před 2 roky
ls beefd0184a 2022-08-08 ct_chen před 2 roky
md5sum beefd0184a 2022-08-08 ct_chen před 2 roky
mkdir beefd0184a 2022-08-08 ct_chen před 2 roky
mv beefd0184a 2022-08-08 ct_chen před 2 roky
paste beefd0184a 2022-08-08 ct_chen před 2 roky
pwd beefd0184a 2022-08-08 ct_chen před 2 roky
rm beefd0184a 2022-08-08 ct_chen před 2 roky
rmdir beefd0184a 2022-08-08 ct_chen před 2 roky
strings beefd0184a 2022-08-08 ct_chen před 2 roky
tail beefd0184a 2022-08-08 ct_chen před 2 roky
tar beefd0184a 2022-08-08 ct_chen před 2 roky
tee beefd0184a 2022-08-08 ct_chen před 2 roky
touch beefd0184a 2022-08-08 ct_chen před 2 roky
tr beefd0184a 2022-08-08 ct_chen před 2 roky
true beefd0184a 2022-08-08 ct_chen před 2 roky
unexpand beefd0184a 2022-08-08 ct_chen před 2 roky
uptime beefd0184a 2022-08-08 ct_chen před 2 roky
wc beefd0184a 2022-08-08 ct_chen před 2 roky
wget beefd0184a 2022-08-08 ct_chen před 2 roky
which beefd0184a 2022-08-08 ct_chen před 2 roky
xargs beefd0184a 2022-08-08 ct_chen před 2 roky
README beefd0184a 2022-08-08 ct_chen před 2 roky
TODO beefd0184a 2022-08-08 ct_chen před 2 roky
all_sourcecode.tests beefd0184a 2022-08-08 ct_chen před 2 roky
ar.tests beefd0184a 2022-08-08 ct_chen před 2 roky
ash.tests beefd0184a 2022-08-08 ct_chen před 2 roky
awk.tests beefd0184a 2022-08-08 ct_chen před 2 roky
awk_t1.tar.bz2 beefd0184a 2022-08-08 ct_chen před 2 roky
bunzip2.tests beefd0184a 2022-08-08 ct_chen před 2 roky
busybox.tests beefd0184a 2022-08-08 ct_chen před 2 roky
bzcat.tests beefd0184a 2022-08-08 ct_chen před 2 roky
cal.tests beefd0184a 2022-08-08 ct_chen před 2 roky
comm.tests beefd0184a 2022-08-08 ct_chen před 2 roky
cp.tests beefd0184a 2022-08-08 ct_chen před 2 roky
cpio.tests beefd0184a 2022-08-08 ct_chen před 2 roky
cryptpw.tests beefd0184a 2022-08-08 ct_chen před 2 roky
cut.tests beefd0184a 2022-08-08 ct_chen před 2 roky
dc.tests beefd0184a 2022-08-08 ct_chen před 2 roky
diff.tests beefd0184a 2022-08-08 ct_chen před 2 roky
expand.tests beefd0184a 2022-08-08 ct_chen před 2 roky
factor.tests beefd0184a 2022-08-08 ct_chen před 2 roky
find.tests beefd0184a 2022-08-08 ct_chen před 2 roky
fold.tests beefd0184a 2022-08-08 ct_chen před 2 roky
grep.tests beefd0184a 2022-08-08 ct_chen před 2 roky
gunzip.tests beefd0184a 2022-08-08 ct_chen před 2 roky
ls.mk_uni_tests beefd0184a 2022-08-08 ct_chen před 2 roky
ls.tests beefd0184a 2022-08-08 ct_chen před 2 roky
makedevs.device_table.txt beefd0184a 2022-08-08 ct_chen před 2 roky
makedevs.tests beefd0184a 2022-08-08 ct_chen před 2 roky
md5sum.tests beefd0184a 2022-08-08 ct_chen před 2 roky
mdev.tests beefd0184a 2022-08-08 ct_chen před 2 roky
mkfs.minix.tests beefd0184a 2022-08-08 ct_chen před 2 roky
mount.testroot beefd0184a 2022-08-08 ct_chen před 2 roky
mount.tests beefd0184a 2022-08-08 ct_chen před 2 roky
od.tests beefd0184a 2022-08-08 ct_chen před 2 roky
parse.tests beefd0184a 2022-08-08 ct_chen před 2 roky
patch.tests beefd0184a 2022-08-08 ct_chen před 2 roky
pidof.tests beefd0184a 2022-08-08 ct_chen před 2 roky
printf.tests beefd0184a 2022-08-08 ct_chen před 2 roky
readlink.tests beefd0184a 2022-08-08 ct_chen před 2 roky
runtest beefd0184a 2022-08-08 ct_chen před 2 roky
rx.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sed.tests beefd0184a 2022-08-08 ct_chen před 2 roky
seq.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sha1sum.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sha256sum.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sha3sum.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sha512sum.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sort.tests beefd0184a 2022-08-08 ct_chen před 2 roky
start-stop-daemon.tests beefd0184a 2022-08-08 ct_chen před 2 roky
sum.tests beefd0184a 2022-08-08 ct_chen před 2 roky
tail.tests beefd0184a 2022-08-08 ct_chen před 2 roky
tar.tests beefd0184a 2022-08-08 ct_chen před 2 roky
tar.utf8.tar.bz2 beefd0184a 2022-08-08 ct_chen před 2 roky
taskset.tests beefd0184a 2022-08-08 ct_chen před 2 roky
test.tests beefd0184a 2022-08-08 ct_chen před 2 roky
testing.sh beefd0184a 2022-08-08 ct_chen před 2 roky
tr.tests beefd0184a 2022-08-08 ct_chen před 2 roky
umlwrapper.sh beefd0184a 2022-08-08 ct_chen před 2 roky
uncompress.tests beefd0184a 2022-08-08 ct_chen před 2 roky
unexpand.tests beefd0184a 2022-08-08 ct_chen před 2 roky
uniq.tests beefd0184a 2022-08-08 ct_chen před 2 roky
unzip.tests beefd0184a 2022-08-08 ct_chen před 2 roky
uuencode.tests beefd0184a 2022-08-08 ct_chen před 2 roky
xargs.tests beefd0184a 2022-08-08 ct_chen před 2 roky

README

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:

./runtest ...

Set SKIP_KNOWN_BUGS environment variable to any non-empty value
to exclude tests which are known to fail.

Set SKIP_INTERNET_TESTS to exclude tests which require working
internet connection.


Common causes of false positives:

For busybox built against uclibc, /etc/TZ does not exist or does not match
host system timezone setting. For glibc based host systems, timezone settings
are in /etc/localtime.

LANG and LC_xxx environment variables set to non-C locale.


Developer's notes:

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.