Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-22 | Insmod dummy for ifconfig tests, and "pointopoint" only has two t's. | Rob Landley | |
2017-09-09 | Redo/add seq precision logic. | Rob Landley | |
Josh Gao hit a case where "seq 1000000 1000001" output 1e+06, and while he was there changed several things to work like existing seq implementations. I changed a couple back (commenting out the test cases) until somebody came come up with a reason (or existing use case) to do it that way. | |||
2017-09-06 | Tighten up wc -m tests (which no longer depend on $LANG). | Rob Landley | |
2017-08-23 | Fix iconv build and add trivial test. | Elliott Hughes | |
2017-08-04 | Don't unnecessarily use printf in wc.test when echo will do. | Elliott Hughes | |
(And is much faster if your shell doesn't have a builtin printf.) | |||
2017-07-25 | Test that our rm -rf can zap chmod 000 directories. (Skip test on host | Rob Landley | |
because ubuntu's can't.) | |||
2017-07-23 | Add basic env.test | Rob Landley | |
2017-07-07 | Posix says strings should only output hits that end with NUL or newline. | Rob Landley | |
We don't currently do that, but a test suite checking that we don't do that is requiring us to violate posix to pass it. | |||
2017-07-07 | strings -t oxd tests | Ilya Kuzmich | |
2017-07-07 | Fix dd tests so TEST_HOST passes. (Ubuntu's dd doesn't support hex values | Rob Landley | |
and don't expect a specific error message, just that it errored.) | |||
2017-07-02 | strings tests and bugfixes | Ilya Kuzmich | |
Fixes missing newline in output if last byte of the input is string. Fixes one-off offset bug. Adds strings tests. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com> | |||
2017-06-27 | teach head -c | Ilya Kuzmich | |
Not POSIX, but implemented in coreutils, busybox and freebsd. | |||
2017-05-28 | teach head -v and -q | Ilya Kuzmich | |
Not POSIX, but implemented in coreutils and busybox. Tests use sed to compensate for the stdin naming difference. Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com> | |||
2017-05-19 | Add bzip2 support to tar. | Elliott Hughes | |
Also trivial cleanup of pipe -> xpipe. Bug: http://b/38215123 | |||
2017-05-19 | Implement date %N, loosely inspired by Elliott Hughes's patch. | Rob Landley | |
I didn't implement %37N's ability to insert zeroes, so removed those two tests. If you really need it, I can add the divide loop back. | |||
2017-05-11 | Switch to testcmd and add "-e all but \c" test. | Rob Landley | |
2017-05-11 | Make fewer assumptions about the shell in echo.test. | Elliott Hughes | |
This test fails with mksh, but we're not here to test mksh. | |||
2017-04-26 | Elliott wants to run the toybox tests on android host and there's an sh but | Rob Landley | |
it isn't toysh, so test for a bash alias. | |||
2017-04-25 | Forgot to check in one of the files for bzcat.test | Rob Landley | |
2017-04-17 | Use $(( rather than $[ for arithmetic in expand.test. | Elliott Hughes | |
I can't find any reference to $[ for arithmetic on the bash man page, but it seems to be a synonym for $((. mksh doesn't support this, so the expand tests that use it fail on Android. No other toybox tests are using $[. | |||
2017-04-17 | Make ls.test work without awk. | Elliott Hughes | |
2017-04-15 | Speed up tail.test for shells without builtin printf. | Elliott Hughes | |
The test only needs echo, and Android currently doesn't use mksh's builtin printf; the toybox printf is fuller featured and less buggy, but a lot slower to call in a loop like this (and mksh doesn't fall back to the printf on the path if given something it can't handle, so we can't have the best of both worlds). Without this hack, the tail test takes as long as all the other tests put together. | |||
2017-04-11 | Fix "make test_split". | Elliott Hughes | |
The test shouldn't assume there's a toybox binary on the path. | |||
2017-04-11 | Fix touch -a/-m (and add the missing tests). | Elliott Hughes | |
utimensat takes atime in [0] and mtime in [1], but since we're overwriting with UTIME_OMIT, we actually want to flip the comparison so -a blats 1 and -m blats 0. | |||
2017-04-10 | Add "uudecode -o -" support. | Elliott Hughes | |
busybox uudecode supports this, and POSIX explicitly mentions it (albeit only in the "STDOUT" section). Plus Android doesn't have /dev/stdout and /dev/stdin, so this lets us rewrite the uudecode tests so they pass on Android too. | |||
2017-04-07 | Make renice.test work without awk. | Elliott Hughes | |
Also try to only kill processes we created. | |||
2017-04-07 | Remove mount.test awk dependency. | Elliott Hughes | |
Parsing file(1) output isn't a good way to determine file system type anyway. | |||
2017-04-07 | Make pgrep tests runnable on toybox-only systems. | Elliott Hughes | |
Also make the cleanup kill more focused. | |||
2017-04-07 | Make pkill tests runnable on a toybox-only system. | Elliott Hughes | |
Also use a much stricter regex in the regex test to avoid killing innocent bystanders. | |||
2017-04-07 | Make bzcat tests runnable on a toybox-only system. | Elliott Hughes | |
2017-04-04 | Add "testcmd" function as an alternative to "testing" for tests/*.test, and | Rob Landley | |
check in two converted commands. | |||
2017-04-03 | Fix ls -a and ls -A tests. | Elliott Hughes | |
2017-03-28 | New date range tests are simple, won't catch Feb 29 in non-leap-year | Rob Landley | |
(or April 31 in any year). Some normalization allowed, exclusions are just what http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html says. | |||
2017-03-22 | Implement uptime -s. | Elliott Hughes | |
Also add trivial tests. | |||
2017-03-20 | Paste bugfix, more tests. | Rob Landley | |
2017-03-20 | Rewrite paste so it actually works. | Rob Landley | |
2017-01-09 | More pending shell tests. | Rob Landley | |
2016-12-25 | Add test for last sort commit. | Rob Landley | |
2016-10-20 | Add special "touch -" behavior and require an argument. | Rob Landley | |
2016-10-19 | More touch tests, and a fix found by one. (The three -t formats can only | Rob Landley | |
reliably be distinguished by checking length, because %H amd %m and such can match different numbers of digits.) | |||
2016-10-18 | Add a printf test that shows a bug. | Rob Landley | |
2016-10-18 | Unify touch -t and -d handling, allow posix's underspecified "time designator" | Rob Landley | |
T to be a space instead (because the posix says so, no idea why), initialize default values reliably including zeroing daylight savings time field (which is handled inconsistently by libc and just screws stuff up). | |||
2016-10-17 | A few more sed tests. | Rob Landley | |
2016-09-13 | Add -h and -L to file. | Elliott Hughes | |
On a toybox system, most of your bin directory is symbolic links. Bug: http://b/31294746 | |||
2016-09-06 | Teach sed s/// how to handle [:space:] type sequences. | Rob Landley | |
Or more accurately, s@[[:space:]@]@replace@ which can't treat the @ in [] as a delimiter but has to know about nested [[]] to make that decision. | |||
2016-09-05 | Fluff up cmp tests. | Rob Landley | |
2016-08-06 | Inline setup_inout(), test ftruncate() return value, move gettimeofday() before | Rob Landley | |
seek so seek time is included in total. | |||
2016-07-23 | Many failing tests I need to fix grep to pass while adding --color. | Rob Landley | |
2016-07-21 | Common test infrastructure says command name, don't have sed.tests say 'sed sed' | Rob Landley | |
2016-07-18 | Add getfattr(1) and setfattr(1). | Elliott Hughes | |
Plus basic tests. |