test-in-container: Moving a test to a particular location *before* execution?
Carlos O'Donell
carlos@redhat.com
Tue Dec 10 20:24:00 GMT 2019
On 12/10/19 2:42 PM, DJ Delorie wrote:
>
> You mean something that copies the test to a specified location, and
> execs that instead of the in-build one?
Yes.
> I suppose the easiest way to implement that is to add yet another
> command to the setup script, like this:
>
> exec /bin/foo
I like it.
> which means "whatever you were about to exec, copy it to this path, and
> exec that instead"
>
> Bonus: if the destination path ends in "/", append the basename of the
> specified test.
Sure, it avoids needing to keep the test name in sync in the file.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list