From: Joseph Myers Date: Thu, 25 Oct 2012 21:59:14 +0000 (+0000) Subject: Use bash to run nptl/tst-tls6.sh. X-Git-Tag: glibc-2.17~347 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a345e4261f34abd45b15c41469a942237a48537;p=thirdparty%2Fglibc.git Use bash to run nptl/tst-tls6.sh. --- diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 62771e3d204..553c7785585 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2012-10-25 Joseph Myers + + * Makefile ($(objpfx)tst-tls6.out): Use $(BASH) not $(SHELL) to + run tst-tls6.sh. + * tst-tls6.sh: Use /bin/bash not /bin/sh. + 2012-10-25 Roland McGrath * tst-basic2.c (do_test): Return RESULT, not always zero. diff --git a/nptl/Makefile b/nptl/Makefile index f84646ee045..c7bb61b6953 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -475,7 +475,7 @@ $(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \ $(objpfx)tst-tls5moda.so $(objpfx)tst-tls5modb.so \ $(objpfx)tst-tls5modc.so $(objpfx)tst-tls5modd.so \ $(objpfx)tst-tls5mode.so $(objpfx)tst-tls5modf.so - $(SHELL) $< $(common-objpfx) $(elf-objpfx) \ + $(BASH) $< $(common-objpfx) $(elf-objpfx) \ $(rtld-installed-name) '$(test-wrapper-env)' endif diff --git a/nptl/tst-tls6.sh b/nptl/tst-tls6.sh index 6ef1232822e..27450c3857c 100755 --- a/nptl/tst-tls6.sh +++ b/nptl/tst-tls6.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # A tls test. # Copyright (C) 2003-2012 Free Software Foundation, Inc. # This file is part of the GNU C Library.