Rob Landley 690526a84f Make tar tests more portable, and add --owner :UID and --group :GID hace 2 años
..
files 842b0d24e3 Cleanup pass on file.c, add more tests. hace 2 años
README.txt 01844db4fb Merge runtest.sh into test.sh. hace 5 años
base32.test b6b5becf35 new toy: base32 hace 3 años
base64.test 216e4dab19 Add "testcmd" function as an alternative to "testing" for tests/*.test, and hace 7 años
basename.test 457dda2930 basename: -s SUFFIX. hace 5 años
bc.test 1201a665bf bc: add a trivial regression test for input from stdin. hace 5 años
blkid.test 1a499d83d4 blkid.test: allow e2fsprogs' blkid too. hace 4 años
bzcat.test f966da9e6e Make bzcat tests runnable on a toybox-only system. hace 7 años
cat.test 8de3613e43 Checking for specific error messages makes TEST_HOST unreliable. hace 4 años
chattr.test f554ce0a4b chattr.test: don't fail on f2fs with compression enabled. hace 3 años
chgrp.test b891b49e08 tests: fix for empty /etc/passwd or /etc/group. hace 5 años
chmod.test e63c996742 chmod: fix +X. hace 3 años
chown.test b891b49e08 tests: fix for empty /etc/passwd or /etc/group. hace 5 años
cksum.test 4c320bfbbb More TEST_HOST failures. hace 4 años
cmp.test f4f5fd5d78 Add cmp -n and wire up skip1 and skip2, plus new test, FLAG() conversions... hace 2 años
comm.test 2243f6f2ad comm: stop using get_line(). hace 2 años
cp.test 127cff3880 Work around a posix violation in the croups filesystem that LTP requires. hace 3 años
cpio.test c366525850 cpio: Don't lchown() if -t is specified hace 3 años
cut.test f4c6375fad Add support for -d $'\n' (cut by line!) and posix -nb (wraps to start of -c) hace 3 años
date.test 54788b5670 Teach xparsedate() to handle more whitespace. hace 3 años
dd.test 0d754b823c dd: iflags, oflags, fix ^C, fix the fundamental loop. hace 5 años
demo_number.test 0536f45747 Add human_readable_long() for more than 3 digits of output. hace 5 años
diff.test 36b1b7d1f8 diff: implement --strip-trailing-cr. hace 5 años
dirname.test d1d751e4be dirname: support multiple arguments. hace 5 años
du.test bb391a9ce6 du.test: skip on Mac. hace 4 años
echo.test 3ba988c453 echo: fix trailing \0. hace 3 años
env.test 284a27675c Fix env properly: env -i uses old $PATH, but use new PATH= when redefined. hace 2 años
expand.test 8d826bf449 Use $(( rather than $[ for arithmetic in expand.test. hace 7 años
expr.test 6aba814b28 Posix requires "" to be false, and 00 should be false, and -0 should be false. hace 8 años
factor.test 92cc04b086 More tests that don't pass TEST_HOST. (The file one is checking for hace 4 años
file.test 842b0d24e3 Cleanup pass on file.c, add more tests. hace 2 años
find.test eaf3949cb7 Fix @time.nanosecond parsing, and add test. hace 2 años
fmt.test 6cc6d5b065 Fix distro version skew in TEST_HOST. hace 2 años
fold.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
fstype.test 1ffa7f45eb Fix bzcat.test (as noted by Andy Chu), wean tests off $TOPDIR and supply $FILES hace 8 años
getfattr.test 4cc20c7554 getfattr: add --only-values. hace 5 años
getopt.test c77b664557 Add getopt(1). hace 4 años
grep.test 3062fc9e9a Fix grep --color to highlight all matches, based on Peter Collingbourne's hace 2 años
groupadd.test bfbdd4a2db Use `return` rather than `continue` to make bash 4.4 happy. hace 5 años
groupdel.test bfbdd4a2db Use `return` rather than `continue` to make bash 4.4 happy. hace 5 años
gunzip.test 640b1bea8b Add test for FEXTRA flag on gunzip hace 3 años
gzip.test 35ee6fcf9f gzip: reject non-gzip files in zlib path. hace 4 años
head.test 77997b8e77 teach head -c hace 7 años
hexdump.test 6e6b6eb6fa new toy: Simple hexdump implementation hace 2 años
hostname.test 26f3ca413c hostname: fix tests for non-root on Android. hace 5 años
iconv.test d2f6a12763 Fix iconv and tests on Mac. hace 4 años
id.test 49c02dbe43 id.test: hacks to pass on Raspberry Pi OS. hace 3 años
ifconfig.test 898a25b851 ifconfig.test: don't check for specific error message. hace 4 años
install.test 3cde24138a Fix install -t hace 3 años
kill.test f438b6731d Add kill -0 test. hace 2 años
killall.test e794647d2a Avoid spurious test failures when fork() coincides with signal being sent, hace 4 años
link.test 49164c7c0b Add some 2>/dev/null to tests that produce gratuitous stderr output. hace 4 años
ln.test 49feb50f22 Add ln -r and relative_path() to lib, plus test. hace 4 años
losetup.test cde31cc6bb losetup.test: bail out if loopback devices are already in use. hace 5 años
ls.test 13e973c613 Don't test for specific error message output, they vary by libc version. hace 4 años
lsattr.test da60fb13dc Now that both sed instances are using -E, we don't need to call it twice. hace 4 años
man.test 4ed8782edd Walk -M /dir:/dir0:/dirN in man. hace 5 años
md5sum.test 880e41fa96 md5sum/sha1sum: add --status and --check, fix --check with multiple files. hace 5 años
mkdir.test b8418383a0 mkdir: return error for existing directories without -p flag hace 2 años
mkfifo.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. hace 8 años
mktemp.test 0dedd13253 Allow --tmpdir's argument to be optional. hace 4 años
modinfo.test e6b3ac496f modinfo: various fixes. hace 4 años
more.test bd6e9d030c more: better behavior with directories. hace 5 años
mount.test 086356b88e Fix mount.test command string quoting hace 3 años
mv.test dfd403c8d2 Peter McConalogue pointed out that cp/mv -i prompt should default N. hace 3 años
netcat.test 9f7f62615f netcat.test: reduce flake. hace 3 años
nl.test 37f94908b8 Cleanup nl (it had a stale TODO entry). hace 2 años
paste.test 47d07dc155 Paste bugfix, more tests. hace 7 años
patch.test de303e914b patch fuzz: Always output original file's ' ' context lines, not from hunk. hace 4 años
pgrep.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
pidof.test c8400d7f82 Fix same spurious test failures that were affecting killall, hace 4 años
pkill.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
printf.test b02260f725 printf.test: work around bash 3.2 on the Mac. hace 4 años
ps.test 275c0a97f7 Simple ps smoketest. hace 4 años
pwd.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. hace 8 años
readelf.test c9e684a5a3 Replace more SKIP_HOST with toyonly. hace 4 años
readlink.test 86c25f5335 readlink: add missing line, plus a test. hace 4 años
realpath.test 8b64d4ac83 Comment out tests realpath doesn't implement yet. hace 2 años
renice.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
rev.test 68de708ac5 TEST_HOST with util-linux 2.29.2 was... unhappy. hace 3 años
rm.test 40fbe7eb5e rm: Add testcase for "rm -f <readonly_filesystem>/missing_file" hace 3 años
rmdir.test 855eca3eaf Nir Lichtman pointed out that rm -p shouldn't try to rmdir / at the end. hace 3 años
sed.test b607b57909 Fix sed bug with multiple w to same file. hace 2 años
seq.test c0f0b967a8 Add seq INT_MIN test. hace 3 años
setfattr.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
sh.test 1533ccf512 Add "cd -", teach cd to handle deleted directories, fix ${X: -1:1} hace 2 años
sha1sum.test c7e261720f Add tests for other sha2 variants. hace 3 años
sha224sum.test c7e261720f Add tests for other sha2 variants. hace 3 años
sha256sum.test 5166c7f455 Merge sha1sum and sha256sum tests. hace 3 años
sha384sum.test c7e261720f Add tests for other sha2 variants. hace 3 años
sha512sum.test c7e261720f Add tests for other sha2 variants. hace 3 años
sort.test b0a4a96e36 Remove non-posix "sort -h". hace 2 años
split.test 3fbacb1f5c Add split -n test, handle more than one leftover byte, clarify help text. hace 3 años
stat.test dba8041341 Some basic stat tests. hace 4 años
strings.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
tac.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. hace 8 años
tail.test ba242e08ee Teach tail -F to work on file that doesn't initially exist (needed hace 3 años
tar.test 690526a84f Make tar tests more portable, and add --owner :UID and --group :GID hace 2 años
tee.test f3d4a2c72f Bugfix: tee with no arguments was writing to stdout twice. hace 4 años
test.test 5109da9b3e Luke Frankart pointed out a typo (0x111 should be 0111). Fix and update hace 3 años
timeout.test 38509d0e21 timeout: fix exit status for sneaky subprocesses. hace 4 años
top.test eee28e7b58 Support fractional seconds (and other time units) in `top -d`. hace 6 años
touch.test c9e684a5a3 Replace more SKIP_HOST with toyonly. hace 4 años
tr.test 72ec2b3746 tr: fix pathological flushing. hace 3 años
truncate.test b942b7f88a truncate.test: work around ext extended attributes space usage. hace 5 años
unicode.test ed3d5eb0ea unicode: new toy. hace 3 años
unzip.test 4ab5f9bd06 unzip tests. hace 5 años
uptime.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años
useradd.test bfbdd4a2db Use `return` rather than `continue` to make bash 4.4 happy. hace 5 años
uudecode.test 0956d16785 Add "uudecode -o -" support. hace 7 años
uuencode.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. hace 8 años
uuidgen.test ec66213424 Add uuidgen. hace 6 años
vi.test df19a448f6 vi: fix dw_last test, add more tests hace 4 años
wc.test d7c111f4c3 wc: fix the column width heuristics even further. hace 5 años
xargs.test 9552ab89c6 Mark Salyzyn implemented support for xargs -P (run parallel jobs) because he hace 3 años
xxd.test 92dd794d8e Replace a SKIP_HOST with toyonly. hace 4 años
xzcat.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. hace 8 años
zcat.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. hace 5 años

README.txt

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