This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: test-in-container: Moving a test to a particular location *before* execution?
- From: DJ Delorie <dj at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 10 Dec 2019 14:42:58 -0500
- Subject: Re: test-in-container: Moving a test to a particular location *before* execution?
You mean something that copies the test to a specified location, and
execs that instead of the in-build one?
I suppose the easiest way to implement that is to add yet another
command to the setup script, like this:
exec /bin/foo
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.