Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-13 | Fix up ${x%y} ${x^y} ${x,y} and add tests. | Rob Landley | |
2020-10-11 | toysh: more variable/wildcard plumbing and tests. | Rob Landley | |
2020-10-06 | The non-recursive dirtree_path wasn't stripping a trailing / from initial path. | Rob Landley | |
2020-10-04 | Implement ${x#y} and ${x##y} | Rob Landley | |
Debug wildcard * match, teach skipslash() to fill out a wildcard deck, make collect_wildcards() flush remove the parsing-only 0th entry. | |||
2020-09-23 | TEST_HOST with util-linux 2.29.2 was... unhappy. | Rob Landley | |
2020-09-23 | Fix more TEST_HOST version skew. | Rob Landley | |
2020-09-14 | Fix multiline case/esac parsing, make syntax_err() exit non-interactve | Rob Landley | |
contexts like scripts, and tweak debug scaffolding. | |||
2020-08-31 | Implement case/esac, add more wildcard tests. | Rob Landley | |
2020-08-27 | xparsedate: support default date(1) output format. | Elliott Hughes | |
This round trip occurs in practice with $KBUILD_BUILD_TIMESTAMP in kernel builds. | |||
2020-08-25 | simplify | Rob Landley | |
2020-08-25 | tar.test: fix the -Igzip test to work with toybox file. | Elliott Hughes | |
GNU says "/dev/stdin" for the filename, but we say "-". | |||
2020-08-24 | tar: add -I (--use-compress-program) support. | Elliott Hughes | |
This also changes the other compression options (such as -j) so that we pass no arguments for compression and just -d for decompression, which is what -I does to its filter and which appears sufficient. (I think I used -dc before just out of habit, since that's what I've been typing on the command line for decades.) | |||
2020-08-23 | Peter McConalogue pointed out that cp/mv -i prompt should default N. | Rob Landley | |
Also, the failing mv test was because posix says to prompt when mv-ing over an unwriteable file only when stdin is a tty (but -i prompts either way) | |||
2020-08-21 | Fix cp -P to not follow symlinks. | Martin Stjernholm | |
Also fix help text to say that it is not the default. | |||
2020-08-21 | cpio: fixes for Android kernel build. | Elliott Hughes | |
Allow -pd to work by changing -p from an option that takes an argument to an option that implies there will be an argument (that is, `-pd x` is `-p -d x` with x being the directory for -p, rather than `-p d x` with d being the directory, as we previously interpreted it). Fix -d (aka --make-directories) to not be a no-op. Previously we acted as if this was always on. Accept --quiet and effectively just ignore it, since toybox cpio doesn't seem to produce any output that --quiet would suppress. | |||
2020-08-04 | date.test: add more UTC offset tests. | Elliott Hughes | |
Rob's code supports more formats than mine did, so add the extra tests. | |||
2020-08-04 | xparsedate: support UTC offsets. | Elliott Hughes | |
Requested in https://github.com/landley/toybox/issues/130, quoting an old version of the toybox help. This is also supported by coreutils. Set $LANG to C in the date tests so that they pass with TEST_HOST=1 (they were already failing for me, presumably related to a newer glibc). | |||
2020-08-04 | echo: fix trailing \0. | Elliott Hughes | |
This is a follow-on from 310eefe, addressing the case where sscanf fails and returns -1. | |||
2020-08-03 | Mark Salyzyn implemented support for xargs -P (run parallel jobs) because he | Rob Landley | |
has a build script that goes much faster with it, and added tests for it. I reimplemented it a different way, and did SIGUSR1 and SIGUSR2 support. | |||
2020-07-30 | find: support -type a,b,c. | Elliott Hughes | |
Fixes #227. | |||
2020-07-20 | patch fuzz: Always output original file's ' ' context lines, not from hunk. | Rob Landley | |
2020-06-27 | The bionic/clang asan plumbing slows the test down >10x, so expand timeout. | Rob Landley | |
2020-06-23 | William Djupström reported tar --exclude wasn't working. Fix and add test. | Rob Landley | |
(Also fix -v output going to stderr when it shouldn't.) | |||
2020-06-23 | More sh tests. | Rob Landley | |
2020-06-19 | More sh tests | Rob Landley | |
2020-06-18 | More shell tests. | Rob Landley | |
2020-06-16 | file: add GIF version information. | Elliott Hughes | |
This let me compare against the host for #225. | |||
2020-06-16 | Ryan Prichard reported that file wasn't getting gif heights right. | Rob Landley | |
2020-06-14 | Fix test not to use shell builtin. | Rob Landley | |
2020-06-09 | chmod: fix -R and dangling symlinks. | Elliott Hughes | |
Found trying to run the libc++ tests. For coreutils, `info chmod` says: 'chmod' ignores symbolic links encountered during recursive directory traversals. Bug: http://b/155809792 | |||
2020-06-09 | Tests for tar memory fix. | Rob Landley | |
2020-06-08 | Add tar test for long filenames. | Rob Landley | |
2020-06-01 | Fix tests. | Rob Landley | |
Includes removing a test that's just gratuitously checking whether or not a corner case gratuitously differs from coreutils. (So what? Who cares?) | |||
2020-05-29 | Replace more SKIP_HOST with toyonly. | Rob Landley | |
SKIP_HOST won't run a test when TEST_HOST set, but toyonly runs its arguments whenever testing toybox (including when the host version is toybox). | |||
2020-05-29 | Annotate sed tests with toyonly. | Rob Landley | |
2020-05-29 | Add tests for sed -s | Rob Landley | |
2020-05-26 | Fix syntax checking for "if true; then echo hello | fi", fix some tests, | Rob Landley | |
slightly more elaborate debug output. | |||
2020-05-26 | More sh tests. | Rob Landley | |
2020-05-23 | Ahem: have the backgrounding test actually background. | Rob Landley | |
Point is to make sure the consumer waits for all output, not for process exit. | |||
2020-05-23 | More shell tests. | Rob Landley | |
2020-05-13 | Massage TEST_HOST test output (coreutils?) to match toybox. | Rob Landley | |
2020-05-13 | toyonly a test binutils lies about, and add a TODO comment. | Rob Landley | |
2020-05-13 | More tests that don't pass TEST_HOST. (The file one is checking for | Rob Landley | |
overly-specific output again.) | |||
2020-05-13 | More TEST_HOST failures. | Rob Landley | |
2020-05-13 | Checking for specific error messages makes TEST_HOST unreliable. | Rob Landley | |
2020-05-11 | More shell tests. | Rob Landley | |
2020-05-03 | Next round of shell work. | Rob Landley | |
2020-04-30 | Yet more shell test tweaks. | Rob Landley | |
2020-04-28 | Replace a SKIP_HOST with toyonly. | Rob Landley | |
2020-04-27 | Redo toysh variable expansion plumbing to start ${} (variable expansion can | Rob Landley | |
now return error), inline utf8spnc and merge_arg(), unify "break" logic, fix "continue" and "done; done", fix cd not to expand arguments twice |