[Toybox] [PATCH] date.test: add some tests.

Rob Landley rob at landley.net
Sat Oct 6 11:29:20 PDT 2018


On 10/05/2018 05:19 PM, enh wrote:
> see: here's a much bigger can of worms for your weekend :-)

I'm trying to cut a toybox release and a mkroot release, and over in mkroot I've
been fighting with adding x32 support (which broke my "short name" convention
for toolchains and required me to add plumbing to mcm-buildall.sh and _then_
doesn't work in the kernel for some reason...), and THEN when I built toybox
with the x32 toolchain it broke because timeout.c feeds &timeval.tv_usec to
xparsetime(long *frac) and this is the first field where suseconds_t is _not_
long (I just now noticed it's got its own type)...

Also, I really need to finish toys/example/demo_pty.c because testing stuff like
tab spacing not wrapping the screen for watch.c requires implementing a pty
master I can run tty programs under. (I should really do that for a proper less
test but that's subsumed under "ps test is hard to do because the background
context is constantly moving and is different each run"...)

It would also be really nice if I could figure out how to _not_ have to log in
to gmail's web interface to fish half your messages out of the spam folder (4
miscategorized just today, gmail _really_ hates you specifically for some reason).

My weekend's booked. Next weekend Fuzzy's in town for a fencing tournament and
crashing on my floor. Maybe the weekend after that...

Rob

P.S. it sounds like what you're testing there is mostly libc? "today" applies to
what how...?



More information about the Toybox mailing list