On Fri, Jun 15, 2018 at 06:31:39PM +0200, Luc Van Oostenryck wrote: > The busybox version of timeout(1) requires that the duration > is given via a '-t' option. > > However, the GNU coreutils' version has no such option and simply > take the duration as its first argument. > > Fix the test-suite script to detect which version is used and pass > the duration accordingly. > > Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> Rather than detecting the version, how about looking at `timeout --help` for '-t\>' or '-k\>' ? (Or, for that matter, teaching busybox to know better. At some point, especially for commands unspecified by POSIX, I think it'd make sense to just treat deficiencies as bugs.) -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html