]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
test: Run the tst-tls-allocation-failure-static-patched with test-wrapper.
authorYanzhang Wang <yanzhang.wang@intel.com>
Thu, 26 Oct 2023 03:26:10 +0000 (11:26 +0800)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 13 Nov 2023 14:55:33 +0000 (15:55 +0100)
If we use cross test with ssh, this test needs to be ran on the remote.

elf/Makefile

index f9bd86a05a7e70e37c71fcc72e42764662470702..c1e9038a449f1167317700153cfa4eb328a63252 100644 (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)