Message ID | 20231026032610.1918997-1-yanzhang.wang@intel.com |
---|---|
State | New |
Headers | show |
Series | test: Run the tst-tls-allocation-failure-static-patched with test-wrapper. | expand |
On Thu, 26 Oct 2023, yanzhang.wang@intel.com wrote: > From: Yanzhang Wang <yanzhang.wang@intel.com> > > If we use cross test with ssh, this test needs to be ran on the remote. OK. (I've seen this same test failure in cross testing.)
* yanzhang wang: > From: Yanzhang Wang <yanzhang.wang@intel.com> > > If we use cross test with ssh, this test needs to be ran on the remote. > --- > elf/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/elf/Makefile b/elf/Makefile > index 9176cbf1e3..1065b5c123 100644 > --- a/elf/Makefile > +++ b/elf/Makefile > @@ -2979,7 +2979,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) Thanks, applied. Florian
diff --git a/elf/Makefile b/elf/Makefile index 9176cbf1e3..1065b5c123 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -2979,7 +2979,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)
From: Yanzhang Wang <yanzhang.wang@intel.com> If we use cross test with ssh, this test needs to be ran on the remote. --- elf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)