Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-02 | Say command name before test result with txpect too. | Rob Landley | |
2020-02-25 | Fix off by one error that treats bit 31 as negative (so ls --color sets | Rob Landley | |
all the bits). While we're at it, make LL be ULL so bit 63 doesn't have the same problem. | |||
2020-02-22 | Make ASAN=1 affect the HOSTCC-built tools too. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/169 | |||
2020-02-22 | mkflags: fix a sscanf buffer off-by-one. | Elliott Hughes | |
Sadly, the compilers don't even catch this common mistake if you use sscanf_s(3). Luckily, ASan does. | |||
2020-02-17 | Rename config symbol now that we've worked around the worst of the breakage. | Rob Landley | |
2020-02-17 | Work around kernel build bug where "make distclean" doesn't work in cp -sfR | Rob Landley | |
directory. Downside: this modifies (distcleans) the source directory for an out of tree build, but the alternative is (sometimes subtle) build breaks. | |||
2020-02-17 | Tighten up build script a little. | Rob Landley | |
2020-02-17 | For "cross.sh all" announce each target in title bar. | Rob Landley | |
2020-02-17 | Fix musl-cross-make nommu build (at least for sh2eb). | Rob Landley | |
2020-01-30 | gcc 8.3 requires different config to build the same toolchain, because gcc. | Rob Landley | |
2020-01-17 | Denys Nykula noticed leftover debris from trying to turn the /etc/passwd | Rob Landley | |
HERE document into an echo ala group. (It wasn't easily coerced into 80 columns and having it be multiple echoes was about as ugly as the HERE document, so I undid it again and missed a bit.) | |||
2020-01-14 | Convert to smaller config format. | Rob Landley | |
2020-01-09 | Use /root as root's home dir and create /dev/fd and /dev/shm in devtmpfs | Rob Landley | |
2019-12-28 | Add VERBOSE=xpect | Rob Landley | |
2019-12-23 | Toysh passes two tests now! Woo! (Otherwise, does not remotely work right now.) | Rob Landley | |
2019-12-23 | Add "texpect" and add a couple simple examples to sh.test. | Rob Landley | |
2019-12-20 | Making sh single build work broke other single builds. Fix them again. | Rob Landley | |
2019-12-14 | Any substitute EVAL should supply its own -- | Rob Landley | |
2019-12-14 | Teach "make sh" to make the multiplexer and builtins, even though it's "single". | Rob Landley | |
2019-11-22 | Sigh. Third attempt to fix trailing slashes in singlemake PREFIX. | Rob Landley | |
(So much jetlag.) | |||
2019-11-20 | Ahem: work when PREFIX hasn't got trailing / OR when PREFIX is blank. | Rob Landley | |
2019-11-18 | Work when PREFIX hasn't got trailing / | Rob Landley | |
2019-10-28 | Only create test file "input" when input argument isn't empty. | Rob Landley | |
2019-10-27 | fallocate: remove uClibc workaround to benefit macOS. | Elliott Hughes | |
My understanding is that uClibc is dead, and the probe for fallocate would need to be made more complicated to work for macOS (where we fake posix_fallocate() in lib/portability.c). | |||
2019-10-16 | Fix NOSPACE tests. | Rob Landley | |
2019-10-07 | Add example to help text. | Rob Landley | |
2019-10-07 | Better comments and help text. | Rob Landley | |
2019-10-03 | Let "llvm-cross" be an acceptable cross compiler directory name. | Rob Landley | |
2019-09-20 | ASAN=1 implies NOSTRIP=1, and don't say strip failed for NOSTRIP. | Rob Landley | |
2019-09-07 | More work on mkroot.sh. | Rob Landley | |
2019-09-07 | airlock still needs gzip compression side for kernel build. | Rob Landley | |
2019-09-07 | Don't have cross.sh bother with "output" directory, make root uses different | Rob Landley | |
subdir name now anyway, and making toybox isn't in a subdir. | |||
2019-09-06 | Update paths for scripts/cross.sh being in subdir instead of ./cross.sh. | Rob Landley | |
2019-09-06 | Update airlock targets. | Rob Landley | |
2019-09-06 | Add cross.sh to cross compile for one or more targets, and tweak make.sh to | Rob Landley | |
produce different output names for different ${TARGET}s. | |||
2019-09-04 | Convenience script to build gcc+musl cross compiler toolchains for various | Rob Landley | |
targets using https://github.com/richfelker/musl-cross-make | |||
2019-08-22 | Add scripts/mkroot.sh and makefile changes for "make root". | Rob Landley | |
Not in help text yet. Needs sh and route enabled in pending to do much. todo: work through the scripts/install.sh $PENDING list and add native toolchain support. | |||
2019-08-22 | Quiet "make clean" so it doesn't fill a whole screen with output. | Rob Landley | |
2019-08-21 | Fix the unshare probe. | Rob Landley | |
2019-07-29 | Add ASAN=1 to the build system. | Elliott Hughes | |
Just use `ASAN=1 make test_grep` or whatever. You'll probably want to set $ASAN_SYMBOLIZER_PATH to point to llvm-symbolizer, but Debian makes that annoying by calling the symbolizer /usr/bin/llvm-symbolizer-4.0 or whatever, and ASan refuses to use it: ==43370==ERROR: External symbolizer path is set to '/usr/bin/llvm-symbolizer-4.0' which isn't a known symbolizer. Please set the path to the llvm-symbolizer binary or other known tool. My usual workaround for this is to drop an llvm-symbolizer symlink in the current directory, and I'm happy to automate that in the script to make it require no knowledge of any of this nonsense, but haven't done so in this initial patch. I tested that this is actually working by reverting the grep fix and running `ASAN=1 make test_grep`. | |||
2019-06-29 | Bash Compatibility Patch | Eric Molitor | |
I know that you are working on toysh which I'm looking forward to. In the meantime below is a patch to improve compatibility with older/odd versions of bash. This fixed a minor build issue I was having on MacOS (which was using zsh in emulated bash mode) as well as an oddball embedded SDK using a non-gnu version of bash. I believe these changes are minimal and should be safe to apply, if not I wanted to at least get them on the mailing list in case others ran into these issues. | |||
2019-06-26 | testcmd shouldn't use shell builtin for TEST_HOST unless there isn't | Rob Landley | |
one in $PATH. | |||
2019-06-24 | Fix FAILCOUNT arithmetic for mksh. | Elliott Hughes | |
mksh doesn't support $[], only $(()). | |||
2019-06-22 | Make testcmd work if the path to $PWD has a space in it. | Rob Landley | |
2019-06-09 | Inverted test. | Rob Landley | |
2019-06-05 | macOS build parallelism. | Elliott Hughes | |
Macs are slow enough without crippling them further! | |||
2019-05-12 | Add VERBOSE=nopass to not show successful tests. | Rob Landley | |
2019-05-06 | Some "echo" variants default to -e, use printf "%s\n" to avoid that. | Rob Landley | |
2019-05-02 | Android moved the scheduler policy functions in Q. | Elliott Hughes | |
They're forwarded to libprocessgroup, but we may as well go straight to the source since neither library is in the NDK anyway. This code is unfortunate because it means that even `toybox true` ends up pulling in a JSON parser at runtime, because ps might call get_sched_policy/get_sched_policy_name. I'll experiment with dlopen-on-demand in portability.c and see whether the savings are worthwhile, but for now at least use the current library directly so we can save *one* dlopen! | |||
2019-04-23 | Remove librt, which is pulling in libpthread. | Rob Landley | |
It hasn't been needed (for clock_gettime) since glibc 2.17 came out in December 2012 (which is more or less our 7 year support horizon) and Devuan 2.0 is not eliminating this with --as-needed (presumably due to some weak symbol nonsense), so... fix that bug. |