This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]