test: Run the tst-tls-allocation-failure-static-patched with test-wrapper.

If we use cross test with ssh, this test needs to be ran on the remote.
This commit is contained in:
Yanzhang Wang 2023-10-26 11:26:10 +08:00 committed by Florian Weimer
parent 3548a4f087
commit 2d27dc1c75

View File

@ -2942,7 +2942,7 @@ $(objpfx)tst-tls-allocation-failure-static-patched: \
$(objpfx)tst-tls-allocation-failure-static-patched.out: \
$(objpfx)tst-tls-allocation-failure-static-patched
$< > $@ 2>&1; echo "status: $$?" >> $@
$(test-wrapper) $< > $@ 2>&1; echo "status: $$?" >> $@
grep -q '^Fatal glibc error: Cannot allocate TLS block$$' $@ \
&& grep -q '^status: 127$$' $@; \
$(evaluate-test)