Hi Rob, Yes the failures, are there for a reason, i have a patch for that (i.e the cleanup), but since the orignal author replied, i wanted to get his opinion, what i wanted to know was are gnu coreutils doing it wrong (pending/fold seems to depict the same behaviour) or am i understanding the posix spec wrong? did not know about the fmt, but i will have a look. Haroon ________________________________ From: Rob Landley <[email protected]> Sent: Wednesday, August 29, 2018 10:58 PM To: haroon maqsood; Samuel Holland; [email protected] Subject: Re: [Toybox] [PENDING] [fold.c] [Question]
On 08/29/2018 05:28 PM, haroon maqsood wrote: > Sorry My mistake (again), this is the complete file. Yay tests. Applied, since any tests are better than none. Although I note that: TEST_HOST=1 make test_fold Produces failures. You might want to try: VERBOSE=fail TEST_HOST=1 make test_fold Also, checking my notes, I'm not sure off the top of my head what the difference between "fold" and "fmt" is? There's a promoted fmt command (from the android guys I think), but fold is posix. Looks like they do kind of similar things? Rob
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
