Re: [Toybox] Test suite quandry.

2020-05-14 Thread Rob Landley
On 5/13/20 6:30 AM, Rob Landley wrote: > P.P.P.P.P.S. readlink -q doesn't work in debian: > > $ ln -snf link link > $ readlink -q link > link $ touch file $ readlink -m file/dir /home/landley/toybox/toybox/file/dir That's not "missing". $ echo -e 'one\ntwo\nthree' | rev -

[Toybox] Test suite quandry.

2020-05-13 Thread Rob Landley
I'm trying to make a scripts/root/tests that'll package up the toybox test suite and run it in mkroot (no toysh isn't nearly ready for that yet, but I'm working on it), and it's _mostly just: mkdir blah cp -a config scripts/ tests/ blah cd blah TEST_HOST=1 VERBOSE=fail scripts/test.sh