[PATCH] tests: Handle system-wide tunables in rseq tests

Michael Jeanson mjeanson@efficios.com
Fri Jul 3 18:20:07 GMT 2026


On 2026-07-03 11:36, DJ Delorie wrote:
> Michael Jeanson <mjeanson@efficios.com> writes:
>> The testroot.pristine is not created in the build dir
> 
> $ make $PWD/testroot.pristine/install.stamp
> 
> The initial testroot isn't created unless you do a full test run - that
> was an optimization we decided on back when, to save time.  Warning: it
> isn't re-built if you run "make check" again either, you need to delete
> and remake the install.stamp to update it during development.
> 
> Every test after that just rsync's the pristine root to the working root
> as needed.

That works, thanks.

Also one more question, are system-wide tunables supposed to work with 
statically linked executables? In my test environment I'm able to make 
tst-rseq fail with a suitable /etc/tunables.conf but it seem to have no 
impact on tst-rseq-static.



More information about the Libc-alpha mailing list