On Wed, Aug 03, 2016 at 05:45:59PM +0200, Ricardo Wurmus wrote: > + (add-after 'unpack 'fix-tests > + (lambda _ > + (substitute* '("tests/commandtest.c" > + "gnulib/tests/test-posix_spawn1.c" > + "gnulib/tests/test-posix_spawn2.c") > + (("/bin/sh") (which "bash"))) > + #t))
According to the man page, Bash changes its behavior to be more POSIX-y when called as sh. So, how about replacing these shebangs with (which "sh"), since their names suggest they are testing some POSIX behavior (at least the latter two tests).