about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-10-30 16:32:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-30 16:32:26 +0000
commita9879fee342c8d40fc1cfabe19cae0f94845e2c5 (patch)
treee8cbde2bffe0425201195861e424cba96c7382b3
parent8321aa972bb84523e060e848d09db5e97ab81c06 (diff)
downloadglibc-a9879fee342c8d40fc1cfabe19cae0f94845e2c5.tar.gz
glibc-a9879fee342c8d40fc1cfabe19cae0f94845e2c5.tar.xz
glibc-a9879fee342c8d40fc1cfabe19cae0f94845e2c5.zip
Fix nptl/tst-cancel7 for non-bash shells.
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 803df62ac8..1c0595be4a 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-30  Aurelien Jarno  <aurelien@aurel32.net>
+	    Joseph Myers  <joseph@codesourcery.com>
+
+	* Makefile (tst-cancel7-ARGS): Use exec in --command argument.
+
 2012-10-28  David S. Miller  <davem@davemloft.net>
 
 	* sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP):
diff --git a/nptl/Makefile b/nptl/Makefile
index c7bb61b695..9d777734a6 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -435,7 +435,7 @@ CFLAGS-tst-initializers1-c99.c = $(CFLAGS-tst-initializers1-<)
 CFLAGS-tst-initializers1-gnu89.c = $(CFLAGS-tst-initializers1-<)
 CFLAGS-tst-initializers1-gnu99.c = $(CFLAGS-tst-initializers1-<)
 
-tst-cancel7-ARGS = --command "$(host-built-program-cmd)"
+tst-cancel7-ARGS = --command "exec $(host-built-program-cmd)"
 tst-cancelx7-ARGS = $(tst-cancel7-ARGS)
 tst-umask1-ARGS = $(objpfx)tst-umask1.temp