Re: [hackers] [sbase][PATCH] uname: check that no operands are specified

2018-07-11 Thread Laslo Hunhold
On Wed, 11 Jul 2018 20:53:17 +0200 Mattias Andrée wrote: Dear Mattias, > + if (argc) > + usage(); > + looks good to me! :) Nice catch! With best regards Laslo -- Laslo Hunhold

[hackers] [sbase][PATCH v2] Add tests for some utilities

2018-07-11 Thread Mattias Andrée
The following utilities are tested: - basename(1) - dirname(1) - echo(1) - false(1) - link(1) - printenv(1) - sleep(1) - test(1) - time(1) - true(1) - tty(1) - uname(1) - unexpand(1) - unlink(1) - whoami(1) - yes(1) Some tests contain "#ifdef TODO", these tests current fail, but there are patches