Use bash to run nptl/tst-tls6.sh.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 25 Oct 2012 21:59:14 +0000 (21:59 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 25 Oct 2012 21:59:14 +0000 (21:59 +0000)
nptl/ChangeLog
nptl/Makefile
nptl/tst-tls6.sh

index 62771e3..553c778 100644 (file)
@@ -1,3 +1,9 @@
+2012-10-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <roland@hack.frob.com>
 
        * tst-basic2.c (do_test): Return RESULT, not always zero.
index f84646e..c7bb61b 100644 (file)
@@ -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
 
index 6ef1232..27450c3 100755 (executable)
@@ -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.