Rob Landley bec57325b5 Expanding readlink and realpath (in progress). преди 1 година
..
files 842b0d24e3 Cleanup pass on file.c, add more tests. преди 2 години
README.txt 01844db4fb Merge runtest.sh into test.sh. преди 5 години
base32.test b6b5becf35 new toy: base32 преди 3 години
base64.test 216e4dab19 Add "testcmd" function as an alternative to "testing" for tests/*.test, and преди 7 години
basename.test 457dda2930 basename: -s SUFFIX. преди 5 години
bc.test f6c1bbc89e Don't use ptr_len and fix error return from "make test_bc" when it succeeds. преди 2 години
blkid.test 8ed78cf520 Add blkid -o full/value/export преди 1 година
bzcat.test f966da9e6e Make bzcat tests runnable on a toybox-only system. преди 7 години
cat.test 8de3613e43 Checking for specific error messages makes TEST_HOST unreliable. преди 4 години
chattr.test 0fa628026c Change another SKIPNEXT to SKIP. преди 1 година
chgrp.test b891b49e08 tests: fix for empty /etc/passwd or /etc/group. преди 5 години
chmod.test 959bf34619 Test suite update. преди 1 година
chown.test b891b49e08 tests: fix for empty /etc/passwd or /etc/group. преди 5 години
cksum.test 4c320bfbbb More TEST_HOST failures. преди 4 години
cmp.test 85c9503625 Make cmp's TEST_HOST pass on current debin, adjusting command behavior to match. преди 2 години
comm.test b5baa04012 Fix comm - and make comm -123 detect missing files. преди 1 година
cp.test 127cff3880 Work around a posix violation in the croups filesystem that LTP requires. преди 3 години
cpio.test c366525850 cpio: Don't lchown() if -t is specified преди 3 години
cut.test 491a88ef4b Test cut -DF on TEST_HOST too. преди 2 години
date.test 149bc75a9b Bug report from nomas2000: inverted test in check for trailing rubbish. преди 1 година
dd.test 0d754b823c dd: iflags, oflags, fix ^C, fix the fundamental loop. преди 5 години
demo_number.test 0536f45747 Add human_readable_long() for more than 3 digits of output. преди 5 години
diff.test 64952cee70 Support diff -f преди 1 година
dirname.test d1d751e4be dirname: support multiple arguments. преди 5 години
du.test bb391a9ce6 du.test: skip on Mac. преди 4 години
echo.test 3ba988c453 echo: fix trailing \0. преди 3 години
env.test 284a27675c Fix env properly: env -i uses old $PATH, but use new PATH= when redefined. преди 2 години
expand.test 8d826bf449 Use $(( rather than $[ for arithmetic in expand.test. преди 7 години
expr.test 6aba814b28 Posix requires "" to be false, and 00 should be false, and -0 should be false. преди 8 години
factor.test 529fe97a4b Add the two options netbsd has for this command. преди 2 години
file.test 842b0d24e3 Cleanup pass on file.c, add more tests. преди 2 години
find.test eaf3949cb7 Fix @time.nanosecond parsing, and add test. преди 2 години
fmt.test 6cc6d5b065 Fix distro version skew in TEST_HOST. преди 2 години
fold.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
fstype.test 1ffa7f45eb Fix bzcat.test (as noted by Andy Chu), wean tests off $TOPDIR and supply $FILES преди 8 години
getfattr.test 4cc20c7554 getfattr: add --only-values. преди 5 години
getopt.test c77b664557 Add getopt(1). преди 4 години
grep.test 4209607a72 Add test for last char of -f bug. преди 1 година
groupadd.test bfbdd4a2db Use `return` rather than `continue` to make bash 4.4 happy. преди 5 години
groupdel.test bfbdd4a2db Use `return` rather than `continue` to make bash 4.4 happy. преди 5 години
gunzip.test 640b1bea8b Add test for FEXTRA flag on gunzip преди 3 години
gzip.test 35ee6fcf9f gzip: reject non-gzip files in zlib path. преди 4 години
head.test 77997b8e77 teach head -c преди 7 години
hexdump.test 6e6b6eb6fa new toy: Simple hexdump implementation преди 2 години
hostname.test 26f3ca413c hostname: fix tests for non-root on Android. преди 4 години
httpd.test 5427339c2a Basic httpd smoketests. преди 2 години
iconv.test d2f6a12763 Fix iconv and tests on Mac. преди 4 години
id.test 49c02dbe43 id.test: hacks to pass on Raspberry Pi OS. преди 3 години
ifconfig.test 6a31ec877e Put the test names in the test, not in a comment before the test. преди 2 години
install.test 3cde24138a Fix install -t преди 3 години
kill.test f438b6731d Add kill -0 test. преди 2 години
killall.test e794647d2a Avoid spurious test failures when fork() coincides with signal being sent, преди 4 години
link.test 49164c7c0b Add some 2>/dev/null to tests that produce gratuitous stderr output. преди 4 години
ln.test 49feb50f22 Add ln -r and relative_path() to lib, plus test. преди 4 години
losetup.test cde31cc6bb losetup.test: bail out if loopback devices are already in use. преди 4 години
ls.test 13e973c613 Don't test for specific error message output, they vary by libc version. преди 4 години
lsattr.test 5f7faac453 Remove leftover uses of SKIPNEXT, indent skip groups so преди 1 година
man.test 4ed8782edd Walk -M /dir:/dir0:/dirN in man. преди 5 години
md5sum.test 880e41fa96 md5sum/sha1sum: add --status and --check, fix --check with multiple files. преди 5 години
mkdir.test b8418383a0 mkdir: return error for existing directories without -p flag преди 2 години
mkfifo.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. преди 8 години
mktemp.test 0dedd13253 Allow --tmpdir's argument to be optional. преди 4 години
modinfo.test 9dbb3bb6bd Fix broken test due to directory symlink преди 1 година
more.test bd6e9d030c more: better behavior with directories. преди 5 години
mount.test 086356b88e Fix mount.test command string quoting преди 3 години
mv.test dfd403c8d2 Peter McConalogue pointed out that cp/mv -i prompt should default N. преди 3 години
netcat.test 9f7f62615f netcat.test: reduce flake. преди 3 години
nl.test 37f94908b8 Cleanup nl (it had a stale TODO entry). преди 2 години
paste.test 47d07dc155 Paste bugfix, more tests. преди 7 години
patch.test f02f67de63 patch --dry-run should not create or delete files. преди 1 година
pgrep.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
pidof.test c8400d7f82 Fix same spurious test failures that were affecting killall, преди 4 години
pkill.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
printf.test 70c5ed4d95 Use testcmd instead of manual workaround for shell builtin. преди 1 година
ps.test 275c0a97f7 Simple ps smoketest. преди 4 години
pwd.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. преди 8 години
readelf.test c9e684a5a3 Replace more SKIP_HOST with toyonly. преди 4 години
readlink.test bec57325b5 Expanding readlink and realpath (in progress). преди 1 година
realpath.test 8b64d4ac83 Comment out tests realpath doesn't implement yet. преди 2 години
renice.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
rev.test 68de708ac5 TEST_HOST with util-linux 2.29.2 was... unhappy. преди 3 години
rm.test 40fbe7eb5e rm: Add testcase for "rm -f <readonly_filesystem>/missing_file" преди 3 години
rmdir.test 855eca3eaf Nir Lichtman pointed out that rm -p shouldn't try to rmdir / at the end. преди 3 години
sed.test 05069bdf6a Couple more sed tests. преди 1 година
seq.test 296a75aa80 Fix the seq and sort tests on macOS and Android. преди 1 година
setfattr.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
sh.test 3b4a95a52b sh: add a test for x=${x//y} преди 1 година
sha1sum.test c7e261720f Add tests for other sha2 variants. преди 3 години
sha224sum.test c7e261720f Add tests for other sha2 variants. преди 3 години
sha256sum.test 5166c7f455 Merge sha1sum and sha256sum tests. преди 3 години
sha384sum.test c7e261720f Add tests for other sha2 variants. преди 3 години
sha512sum.test c7e261720f Add tests for other sha2 variants. преди 3 години
skeleton.test 658cdf4435 Fix --longopt= empty argument and add tests. преди 1 година
sort.test 296a75aa80 Fix the seq and sort tests on macOS and Android. преди 1 година
split.test 3fbacb1f5c Add split -n test, handle more than one leftover byte, clarify help text. преди 3 години
stat.test dba8041341 Some basic stat tests. преди 4 години
strings.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
tac.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. преди 8 години
tail.test ba242e08ee Teach tail -F to work on file that doesn't initially exist (needed преди 3 години
tar.test 26446d37f1 Tar --xform extract side. преди 1 година
tee.test f3d4a2c72f Bugfix: tee with no arguments was writing to stdout twice. преди 4 години
test.test 2407a5f51b Make test understand [[ < > =~ ]] and add tests to test.test. преди 2 години
timeout.test 503a66de8b timeout.test: use POSIX "trap" syntax. преди 1 година
top.test eee28e7b58 Support fractional seconds (and other time units) in `top -d`. преди 6 години
touch.test c9e684a5a3 Replace more SKIP_HOST with toyonly. преди 4 години
tr.test 72ec2b3746 tr: fix pathological flushing. преди 3 години
truncate.test bb0b256764 Fix truncate.test for macOS. преди 2 години
unicode.test ed3d5eb0ea unicode: new toy. преди 3 години
unzip.test 4ab5f9bd06 unzip tests. преди 5 години
uptime.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години
useradd.test bfbdd4a2db Use `return` rather than `continue` to make bash 4.4 happy. преди 5 години
uudecode.test 0956d16785 Add "uudecode -o -" support. преди 7 години
uuencode.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. преди 8 години
uuidgen.test ec66213424 Add uuidgen. преди 6 години
vi.test df19a448f6 vi: fix dw_last test, add more tests преди 4 години
wc.test d7c111f4c3 wc: fix the column width heuristics even further. преди 5 години
xargs.test 1a87671b2e xargs: open child's stdin non-O_CLOEXEC. преди 2 години
xxd.test 1135b848d4 Modernize xxd tests. преди 1 година
xzcat.test 336c44adca Factor out command name at the start of test name, have runtest.sh print it. преди 8 години
zcat.test 7a46d1db95 Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work. преди 5 години

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