android_external_toybox/tests
Elliott Hughes d9d0a1c6e6 file: don't print ELF flags unless we've verified the bitness.
This was the file(1) crash mentioned in #503.
2024-08-10 15:31:32 -05:00
..
files
awk.test
base32.test new toy: base32 2021-01-07 16:10:47 -06:00
base64.test
basename.test
bc.test
blkid.test
bzcat.test
cat.test Checking for specific error messages makes TEST_HOST unreliable. 2020-05-13 01:25:54 -05:00
chattr.test
chgrp.test tests: fix for empty /etc/passwd or /etc/group. 2019-07-24 21:33:12 -05:00
chmod.test
chown.test tests: fix for empty /etc/passwd or /etc/group. 2019-07-24 21:33:12 -05:00
cksum.test
cmp.test Make cmp's TEST_HOST pass on current debin, adjusting command behavior to match. 2022-06-21 03:18:57 -05:00
comm.test
cp.test
cpio.test
cut.test Test cut -DF on TEST_HOST too. 2022-04-25 21:40:40 -05:00
date.test Bump some changes to next release. 2023-01-09 00:58:45 -06:00
dd.test
demo_number.test
devmem.test
diff.test diff.test: mksh compatibility. 2023-10-06 00:21:05 -05:00
dirname.test
du.test du.test: skip on Mac. 2019-12-06 13:16:23 -06:00
echo.test
env.test
expand.test
expr.test
factor.test
fallocate.test Fix macOS posix_fallocate(). 2023-12-15 01:10:15 -06:00
file.test
find.test
fmt.test
fold.test
fstype.test
getfattr.test
getopt.test
grep.test
groupadd.test
groupdel.test
gunzip.test
gzip.test
head.test
hexdump.test
hostname.test
httpd.test
iconv.test Fix iconv and tests on Mac. 2019-11-23 10:03:43 -06:00
id.test id.test: hacks to pass on Raspberry Pi OS. 2020-12-06 02:22:22 -06:00
ifconfig.test
install.test
kill.test
killall.test Avoid spurious test failures when fork() coincides with signal being sent, 2019-09-22 09:45:30 -05:00
link.test
ln.test
losetup.test
ls.test If you "touch abc Abc" on MacOS you only get one file, so skip those tests. 2023-06-07 19:34:25 -05:00
lsattr.test Remove leftover uses of SKIPNEXT, indent skip groups so 2022-09-08 12:34:05 -05:00
man.test
md5sum.test md5sum/sha1sum: add --status and --check, fix --check with multiple files. 2018-12-19 13:50:38 -06:00
mkdir.test mkdir: return error for existing directories without -p flag 2021-10-18 19:59:10 -05:00
mkfifo.test
mkpasswd.test
mktemp.test
modinfo.test
more.test
mount.test
mv.test Peter McConalogue pointed out that cp/mv -i prompt should default N. 2020-08-23 22:50:16 -05:00
nbd-client.test
netcat.test
nl.test Cleanup nl (it had a stale TODO entry). 2022-01-09 03:12:52 -06:00
paste.test
patch.test
pgrep.test
pidof.test
pkill.test
printf.test
ps.test
pwd.test
readelf.test
readlink.test
README.txt Merge runtest.sh into test.sh. 2018-12-02 16:22:41 -06:00
realpath.test
renice.test
rev.test
rm.test
rmdir.test
sed.test
seq.test
setfattr.test
sh.test
sha1sum.test
sha3sum.test
sha224sum.test Add tests for other sha2 variants. 2021-06-02 02:39:49 -05:00
sha256sum.test Merge sha1sum and sha256sum tests. 2021-06-01 22:07:25 -05:00
sha384sum.test
sha512sum.test
skeleton.test
sort.test
split.test Add split -n test, handle more than one leftover byte, clarify help text. 2021-07-05 00:57:46 -05:00
stat.test
strings.test Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. 2018-11-20 17:44:43 -06:00
tac.test
tail.test
tar.test
tee.test
test.test Test failure as well as success, and can't use toyonly with NOHELP. 2024-07-04 14:51:38 -05:00
timeout.test
top.test
touch.test
tr.test
truncate.test
tsort.test
unicode.test
unzip.test
uptime.test
useradd.test Use return rather than continue to make bash 4.4 happy. 2019-01-07 19:26:24 -06:00
uudecode.test
uuencode.test
uuidgen.test
vi.test
wc.test
xargs.test
xxd.test
xzcat.test
zcat.test

The build infrastructure adds a "make test_NAME" target for each NAME.test
file in this directory, and "make tests" iterates through all of them.

Individual tests boil down to a call to "scripts/test.sh NAME", and
testing all is "scripts/test.sh" with no arguments.

The test infrastructure, including the shell functions each test calls
(mostly "testcmd" and "optional") is described in scripts/test.sh