Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-01 | Change grep -w to checking matches after the fact rather than modifing regex. | Rob Landley | |
This lets '(x)\1' match, as reported by Isabella Parakiss. | |||
2015-10-29 | Fix sed bug reported by Isabella Parakiss, where sed -e "/x/c\" -e "y" added | Rob Landley | |
an extra newline because the test for whether we have an existing string to append a newline to was checking if struct step had data appended to it, and the /x/ regex is data appended to it. Change test to check for null terminator at ->arg1 offset. | |||
2015-09-14 | Add find tests. | Daniel K. Levy | |
2015-09-12 | Fix a find segfault. | Rob Landley | |
Elliott Hughes found a bug https://android-review.googlesource.com/#/c/170020/ and Daniel K. Levy worked out the problem: the user/group/newer arguments to find weren't consuming their arguments when not checking the results of their comparison (because an earlier test had already caused their parenthetical group to fail). This confused the argument parsing logic and could lead to segfaults. I applied a different fix that reorganized the existing tests instead of adding a new test. (Looks like a big commit but it's mostly whitespace due to extra curly brackets changing indendentation levels.) | |||
2015-09-06 | Switch HR_SI to HR_1000, make binary the default, make HR_B only affect bytes, | Rob Landley | |
and update the tests. | |||
2015-09-05 | Add seq -f tests, tweak help text, and catch one more error case. | Rob Landley | |
2015-09-03 | Make human_readable() handle base 1024 units without floating point. | Rob Landley | |
Rounds correctly via brute force, displayed digits are decimal even when working with powers of 2, shows at most 3 significant (decimal) digits. (So no "1023M" nonsense, that's 1.0G.) | |||
2015-08-30 | Fix mv on overwrite. | Elliott Hughes | |
We need to remove the destination, not the source, to be able to overwrite. | |||
2015-08-11 | Fix more date bugs. | Elliott Hughes | |
Correctly and portably check for non-normal dates, and explicitly show the "before" and "after" dates (in the format of the user's choosing). Clear the struct tm in date_main rather than parse_default because on one path the struct tm is actually initialized. Explicitly clear the tm_sec field in parse_default because -- experiment shows -- that should not be preserved. Only do the "what does this 2-digit year mean?" dance if we actually parsed a 2-digit year. Show the right string in the error message if strptime fails. Also add more tests, and use UTC in the tests to avoid flakiness. | |||
2015-08-08 | Reject invalid dates in date(1). | Elliott Hughes | |
Humans get upset when date(1) lets mktime(3) work out what the 99th day of the 99th month would be rather than rejecting the invalid date. For the subtly wrong cases, rather than get into the leap year business, let's rely on localtime_r(3). | |||
2015-07-04 | Actually set time with touch -d and -t when you don't specify nanonseconds. | Rob Landley | |
There's a nanoseconds field value that says use current time, which I set but forgot to clear in the right places. (Oops.) | |||
2015-07-02 | The android guys sent in xxd. It doesn't share code with od and hexdump. Hmmm... | Rob Landley | |
2015-07-01 | Fix segfault with "mount -o ro,remount". | Elliott Hughes | |
Or any call to comma_scan where 'opt' appears as the last item in 'optlist'. | |||
2015-05-12 | Set the executable bits on all the *.test files. (Wasn't consistent, is now.) | Rob Landley | |
2015-04-28 | Fix truncate prefix bug and add truncate test suite entry. | Rob Landley | |
2015-03-29 | Add head test for -123. | Rob Landley | |
2015-03-28 | Fix sed bug David Halls hit trying to compile libiconv. | Rob Landley | |
2015-03-28 | Fix printf bug (%.s should be %.0s not %s) reported by Isabella Parakiss. | Rob Landley | |
2015-03-01 | fix copy/paste-o in useradd.test | Elliott Hughes | |
2015-02-18 | Separate 'userdel' from testing syntax. | Yeongdeok Suh | |
When I test toybox with toybox/tests/*.test scripts, I got many false FAILs from it. So, I tried to fix useradd.test file. | |||
2015-01-14 | i found a few problems while manually smoke testing toybox chown versus ↵ | Elliott Hughes | |
toolbox (NetBSD) chown... new test: and here's the patch to fix "owner:" ":group" and the ":" special case: | |||
2015-01-11 | One more bugfix for printf.c, with test suite entry. (Make %-3d etc work.) | Rob Landley | |
2015-01-10 | More half-finished cleanup of printf.c, and more test suite entries. | Rob Landley | |
2015-01-06 | Since "printf" is a shell builtin, printf.test wasn't actually testing anything. | Rob Landley | |
2015-01-06 | More printf cleanup, and test suite entries. | Rob Landley | |
Fixes bug introduced last time where toys.optargs was both snapshotted and used directly and the two fell out of sync. | |||
2014-12-24 | Teach factor to accept whitespace separated arguments (reported by Robert ↵ | Rob Landley | |
Thompson). (The diff looks bigger than it is because of reindenting.) | |||
2014-12-21 | Another sed bug. (The e2fsprogs build uses multiple line continuations on ↵ | Rob Landley | |
the same command.) | |||
2014-12-14 | Make sed a\ line continuations work properly for different pattern input modes. | Rob Landley | |
2014-12-01 | Ashwini Sharma pointed out that "mkdir sub; ln -s . sub/up; du -L sub" ↵ | Rob Landley | |
shouldn't loop endlessly. | |||
2014-12-01 | Refactor expr and add another test entry that works with TEST_HOST=1 but not ↵ | Rob Landley | |
with the one in pending. | |||
2014-11-30 | Tests for operator priority groupings. | Rob Landley | |
2014-11-27 | sed: c needs to trigger range logic like d, D works like d when there isn't ↵ | Rob Landley | |
anything left in the line, and more tests. | |||
2014-11-27 | New ifconfig tests from Cynt Rynt. | Rob Landley | |
(I added the "only run if root" stanza at the beginning.) | |||
2014-11-15 | Debugging pass on sed: make the existing test suite pass. | Rob Landley | |
2014-11-14 | Add a few more sed tests. | Rob Landley | |
2014-11-09 | Yet more sed tests. | Rob Landley | |
2014-11-06 | More sed tests. | Rob Landley | |
2014-10-30 | Test for ls -d from Isaac Dunham, and he pointed out -F also disables ↵ | Rob Landley | |
symlink following. | |||
2014-10-29 | First batch of sed tests. | Rob Landley | |
Only good for TEST_HOST=1 at the moment because the test infrastructure itself depends on sed, so if an unfinished sed is in the $PATH it goes boing. But hey, corner cases! I have... more. | |||
2014-09-22 | Fix du test: du symlink -> "0\tsymlink" | Felix Janda | |
2014-09-20 | Move testsuite out of scripts/test into its own top level tests directory, ↵ | Rob Landley | |
and make ctrl-c kill "make test" more reliably. |