data/method/busybox/busybox-1.36.0/testsuite
luozhikun 09a1681920 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
..
basename feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bunzip2 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bzcat feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cat feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cmp feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cp feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cut feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
date feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dd feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dirname feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
du feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
echo feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
expr feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
false feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
find feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
gunzip feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
gzip feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
hostid feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
hostname feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
id feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ln feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ls feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
md5sum feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
mkdir feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
mv feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
paste feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
pwd feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
rm feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
rmdir feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
strings feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tail feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tar feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tee feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
touch feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tr feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
true feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
uptime feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
wc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
wget feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
which feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
xargs feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
README feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
TODO feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
all_sourcecode.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ar.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ash.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
awk.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
awk_t1.tar.bz2 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_add.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_add_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_arctangent.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_arctangent_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_array.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_array_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_arrays.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_arrays_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_bessel.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_bessel_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_boolean.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_boolean_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_cosine.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_cosine_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_decimal.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_decimal_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_divide.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_divide_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_exponent.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_exponent_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_log.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_log_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_misc.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_misc1.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_misc1_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_misc2.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_misc2_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_misc_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_modulus.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_modulus_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_multiply.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_multiply_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_numbers1.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_numbers1_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_numbers2.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_numbers2_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_pi.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_pi_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_power.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_power_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_references.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_references_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_sine.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_sine_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_sqrt.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_sqrt_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_strings.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_strings_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_subtract.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_subtract_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_vars.bc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bc_vars_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bunzip2.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
busybox.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bz2_issue_11.bz2 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bz2_issue_12.bz2 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
bzcat.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cal.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cat.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
comm.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cp.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cpio.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cryptpw.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
cut.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_add.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_add_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_boolean.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_boolean_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_decimal.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_decimal_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_divide.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_divide_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_divmod.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_divmod_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_misc.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_misc_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_modexp.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_modexp_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_modulus.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_modulus_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_multiply.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_multiply_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_power.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_power_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_sqrt.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_sqrt_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_strings.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_strings_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_subtract.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dc_subtract_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dcx_vars.dc feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
dcx_vars_results.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
diff.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
expand.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
factor.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
find.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
fold.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
grep.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
gunzip.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
head.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
hexdump.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ls.mk_uni_tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
ls.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
makedevs.device_table.txt feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
makedevs.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
md5sum.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
mdev.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
mkfs.minix.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
mount.testroot feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
mount.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
nl.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
od.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
parse.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
patch.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
pidof.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
printf.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
readlink.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
realpath.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
rev.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
runtest feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
rx.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sed.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
seq.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sha1sum.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sha3sum.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sha256sum.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sha512sum.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sort.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
start-stop-daemon.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
sum.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tail.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tar.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tar.utf8.tar.bz2 feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
taskset.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
test.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
testing.sh feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tr.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tree.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
tsort.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
umlwrapper.sh feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
uncompress.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unexpand.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
uniq.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unlzma.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unlzma_issue_1.lzma feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unlzma_issue_2.lzma feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unlzma_issue_3.lzma feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unzip.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unzip_bad_lzma_1.zip feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
unzip_bad_lzma_2.zip feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
uuencode.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
xargs.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00
xxd.tests feat: 增加method和tool资料 2024-01-29 10:44:43 +08:00

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 <applet1> <applet2>...

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.