From 6a345e4261f34abd45b15c41469a942237a48537 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 25 Oct 2012 21:59:14 +0000 Subject: [PATCH] Use bash to run nptl/tst-tls6.sh. --- nptl/ChangeLog | 6 ++++++ nptl/Makefile | 2 +- nptl/tst-tls6.sh | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 62771e3d20..553c778558 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 f84646ee04..c7bb61b695 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 6ef1232822..27450c3857 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.