]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Set "fail on error" mode directly in testsuite shell scripts
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 24 Sep 2012 20:52:13 +0000 (20:52 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 25 Sep 2012 02:48:31 +0000 (02:48 +0000)
48 files changed:
ChangeLog
catgets/Makefile
catgets/test-gencat.sh
elf/Makefile
elf/tst-pathopt.sh
grp/Makefile
grp/tst_fgetgrent.sh
iconvdata/Makefile
iconvdata/run-iconv-test.sh
intl/Makefile
intl/tst-gettext.sh
intl/tst-gettext2.sh
intl/tst-gettext4.sh
intl/tst-gettext6.sh
intl/tst-translit.sh
io/Makefile
io/ftwtest-sh
libio/Makefile
libio/test-freopen.sh
localedata/ChangeLog
localedata/Makefile
localedata/gen-locale.sh
localedata/sort-test.sh
localedata/tst-ctype.sh
localedata/tst-fmon.sh
localedata/tst-langinfo.sh
localedata/tst-locale.sh
localedata/tst-mbswcs.sh
localedata/tst-numeric.sh
localedata/tst-rpmatch.sh
localedata/tst-trans.sh
localedata/tst-wctype.sh
malloc/Makefile
malloc/tst-mtrace.sh
nptl/ChangeLog
nptl/Makefile
nptl/tst-tls6.sh
posix/Makefile
posix/globtest.sh
posix/tst-getconf.sh
posix/wordexp-tst.sh
stdio-common/Makefile
stdio-common/tst-printf.sh
stdio-common/tst-unbputc.sh
stdlib/Makefile
stdlib/tst-fmtmsg.sh
sysdeps/x86_64/Makefile
sysdeps/x86_64/tst-xmmymm.sh

index cb4c0760f8a4abc606c1e001e59edb4b9443fa0f..61f0546acba19317cdbb08e27c1a8a23d43a2960 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,38 @@
 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
 
+       * catgets/test-gencat.sh: Add "set -e".
+       * elf/tst-pathopt.sh: Likewise.
+       * grp/tst_fgetgrent.sh: Likewise.
+       * iconvdata/run-iconv-test.sh: Likewise.
+       * intl/tst-gettext.sh: Likewise.
+       * intl/tst-gettext2.sh: Likewise.
+       * intl/tst-gettext4.sh: Likewise.
+       * intl/tst-gettext6.sh: Likewise.
+       * intl/tst-translit.sh: Likewise.
+       * io/ftwtest-sh: Likewise.
+       * libio/test-freopen.sh: Likewise.
+       * malloc/tst-mtrace.sh: Likewise.
+       * posix/globtest.sh: Likewise.
+       * posix/tst-getconf.sh: Likewise.
+       * posix/wordexp-tst.sh: Likewise.
+       * stdio-common/tst-printf.sh: Likewise.
+       * stdio-common/tst-unbputc.sh: Likewise.
+       * stdlib/tst-fmtmsg.sh: Likewise.
+       * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
+       * catgets/Makefile: Do not specify -e option when running
+       testsuite shell scripts.
+       * elf/Makefile: Likewise.
+       * grp/Makefile: Likewise.
+       * iconvdata/Makefile: Likewise.
+       * intl/Makefile: Likewise.
+       * io/Makefile: Likewise.
+       * libio/Makefile: Likewise.
+       * malloc/Makefile: Likewise.
+       * posix/Makefile: Likewise.
+       * stdio-common/Makefile: Likewise.
+       * stdlib/Makefile: Likewise.
+       * sysdeps/x86_64/Makefile: Likewise.
+
        * io/ftwtest-sh: Add copyright header.
        * posix/globtest.sh: Likewise.
        * posix/tst-getconf.sh: Likewise.
index c11edd33c2022c155e519ceaf876f8d1a9881f30..ec8fe1e0bc013558327a149526454f37dd3dfbaf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-2000, 2002-2004, 2012 Free Software Foundation, Inc.
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -75,7 +75,7 @@ $(objpfx)de.msg: xopen-msg.awk $(..)po/de.po
 
 $(objpfx)test-gencat.out: test-gencat.sh $(objpfx)test-gencat \
                          $(objpfx)sample.SJIS.cat
-       $(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)'
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'
 
 $(objpfx)sample.SJIS.cat: sample.SJIS $(objpfx)gencat
        GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
index 50594bc3512406a8a599d2d6a1c8ca268da10d74..c884b8f200bcb40a32560aea66e4fb000d9bffbf 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test escape character handling in gencat.
-# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 
index c844739adcdad9db6019c14ca9c68839b9a17457..2eb12d37de9011dda2d1c916b3e0d70f97847701 100644 (file)
@@ -705,7 +705,7 @@ $(objpfx)lateglobal.out: $(objpfx)ltglobmod1.so $(objpfx)ltglobmod2.so
 $(objpfx)tst-pathopt: $(libdl)
 $(objpfx)tst-pathopt.out: tst-pathopt.sh $(objpfx)tst-pathopt \
                          $(objpfx)pathoptobj.so
-       $(SHELL) -e $< $(common-objpfx)
+       $(SHELL) $< $(common-objpfx)
 
 $(objpfx)tst-rtld-load-self.out: tst-rtld-load-self.sh $(objpfx)ld.so
        $(SHELL) $^ > $@
index c79b47b04de39740ca9eaa93ac7140a54c2c8c08..048c612645e451be5481289e705a9bafd591e398 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test lookup path optimization.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 
index ca620603f2378a8991f2c566384e271454f79241..8cb99c15058a5916aa3d509b6c4e9f3f3b10739e 100644 (file)
@@ -55,7 +55,7 @@ ifeq (no,$(cross-compiling))
 ifeq (yes,$(build-shared))
 tests: $(objpfx)tst_fgetgrent.out
 $(objpfx)tst_fgetgrent.out: tst_fgetgrent.sh $(objpfx)tst_fgetgrent
-       $(SHELL) -e tst_fgetgrent.sh $(common-objpfx) $(elf-objpfx) \
+       $(SHELL) $< $(common-objpfx) $(elf-objpfx) \
                 $(rtld-installed-name)
 
 endif
index cb80e73ded237f6c4c733ba211483719fa50581d..7e69815ca10b778a37e1267c37249df8bf74678e 100644 (file)
@@ -1,8 +1,7 @@
 #! /bin/sh
-# Copyright (C) 1999 Free Software Foundation, Inc.
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1999.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 elf_objpfx=$1; shift
 rtld_installed_name=$1; shift
index eac51ba5720de0dc5794f58ac57766ecbb73fd3e..2ddcae50404ca35ddef8a6a423670bd4f7b9bbfc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1997-2008, 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -299,7 +299,7 @@ $(objpfx)tst-iconv7.out: $(objpfx)gconv-modules \
 $(objpfx)iconv-test.out: run-iconv-test.sh $(objpfx)gconv-modules \
                         $(addprefix $(objpfx),$(modules.so)) \
                         $(common-objdir)/iconv/iconv_prog TESTS
-       $(SHELL) -e $< $(common-objdir) > $@
+       $(SHELL) $< $(common-objdir) > $@
 
 $(objpfx)tst-tables.out: tst-tables.sh $(objpfx)gconv-modules \
                         $(addprefix $(objpfx),$(modules.so)) \
index 60be69f628c4452ffa9759795171dac6b96f3598..34c400d7e927e131caccde3454de2636ad78cd72 100755 (executable)
@@ -1,9 +1,8 @@
 #! /bin/sh -f
 # Run available iconv(1) tests.
-# Copyright (C) 1998-2002, 2005, 2006, 2008 Free Software Foundation, Inc.
+# Copyright (C) 1998-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 codir=$1
 
 # We use always the same temporary file.
index d3ea4cb8cd4baf2a75862b15216c0d5149464802..764badcab1b46cf132e3882fd034ed4b3e76f4fb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2003,2005,2008,2011,2012 Free Software Foundation, Inc.
+# Copyright (C) 1995-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -74,16 +74,16 @@ $(codeset_mo): tstcodeset.po
 $(objpfx)mtrace-tst-gettext: $(objpfx)tst-gettext.out
        $(common-objpfx)malloc/mtrace $(objpfx)tst-gettext.mtrace > $@
 $(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext
-       $(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/ \
+       $(SHELL) $< $(common-objpfx) $(common-objpfx)intl/ \
          $(objpfx)tst-gettext.mtrace
 $(objpfx)tst-translit.out: tst-translit.sh $(objpfx)tst-translit
-       $(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
+       $(SHELL) $< $(common-objpfx) $(common-objpfx)intl/
 $(objpfx)tst-gettext2.out: tst-gettext2.sh $(objpfx)tst-gettext2
-       $(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/
+       $(SHELL) $< $(common-objpfx) $(common-objpfx)intl/
 $(objpfx)tst-gettext4.out: tst-gettext4.sh $(objpfx)tst-gettext4
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
 $(objpfx)tst-gettext6.out: tst-gettext6.sh $(objpfx)tst-gettext6
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)intl/
 
 $(objpfx)tst-codeset.out: $(codeset_mo)
 $(objpfx)tst-gettext3.out: $(codeset_mo)
index e8fee9f3c552b863fb03ed974749cb9156b9cd39..a3ac37798710aae743e0b5ae78ecd572495ceefd 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test of gettext functions.
-# Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 objpfx=$2
 malloc_trace=$3
index 656c2e15564b9037459f73fd94fe2f0a114c952e..2d9c52fef90fb2347fa91128fb0aaab1e9cac9cc 100644 (file)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test of gettext functions.
-# Copyright (C) 2000, 2003, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 objpfx=$2
 
index ac95be19751cf80a24fbea495121ee5dbb2e0613..4067071c78c1c343cd02d8d8e44156bac8ce7501 100755 (executable)
@@ -1,9 +1,8 @@
 #! /bin/sh
 # Test that gettext() in multithreaded applications works correctly if
 # different threads operate in different locales with the same encoding.
-# Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 objpfx=$3
index b83678ed056a86d922b6d0412dbd3ba47a9e6aa8..2db0cd653add396b7911651be6903fef7b9b1f3e 100644 (file)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test that gettext() in multithreaded applications works correctly.
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 objpfx=$3
index 3091ab96bb99c28bf66b97b58fc9aa50d58bc678..93159c7cef9011c03e94601977b985cbed80d54b 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test of transliteration in gettext functions.
-# Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 objpfx=$2
 
index 6e3a737851d93eee6ec4f7e90f3c41589fe61218..f6534c0bb4dd451feabc1d6f2fceab2acfcda6e5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1992-2003,2005-2008,2011,2012 Free Software Foundation, Inc.
+# Copyright (C) 1992-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -102,6 +102,6 @@ ifeq ($(cross-compiling),no)
 tests: $(objpfx)ftwtest.out
 
 $(objpfx)ftwtest.out: $(objpfx)ftwtest
-       $(SHELL) -e ftwtest-sh $(shell cd $(common-objpfx). && pwd)/ \
+       $(SHELL) ftwtest-sh $(shell cd $(common-objpfx). && pwd)/ \
                 $(shell cd $(<D) && pwd)/$(<F) > $@
 endif
index 8b8abaaa11edbbec95b9ba8f3e95b55bb42ee96e..1822ea7fcd318a78fa6401755958f5354ff4634a 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test for nftw(3).
-# Copyright (C) 1997-2004 Free Software Foundation, Inc.
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 # The common objpfx, used to find libraries and the dynamic loader.
 objpfx=$1
 
index 090e1941e395a8f5b50e696fae0247f6234297ae..e2a7efdc1c7e7726a207daea69d8b431dd53c89f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1995-2004,2006-2009,2011,2012 Free Software Foundation, Inc.
+# Copyright (C) 1995-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -184,7 +184,7 @@ endif
 endif
 
 $(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' \
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)'    \
        $(common-objpfx)libio/
 
 $(objpfx)tst-fopenloc.check: $(objpfx)tst-fopenloc.out
index 07b4cf68dda2b9715fea0f6ef5c372d66671e2c3..9ee453087bb6dafd34f26cf1e82ffba9616e14f0 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test of freopen.
-# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 objpfx=$3
index 3723e1baf469840fb3d4972de76a04682432ecfd..cd790c6e81e82cadcf5a0b666cf420a233419412 100644 (file)
@@ -1,5 +1,19 @@
 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
 
+       * gen-locale.sh: Add "set -e".
+       * sort-test.sh: Likewise.
+       * tst-ctype.sh: Likewise.
+       * tst-fmon.sh: Likewise.
+       * tst-langinfo.sh: Likewise.
+       * tst-locale.sh: Likewise.
+       * tst-mbswcs.sh: Likewise.
+       * tst-numeric.sh: Likewise.
+       * tst-rpmatch.sh: Likewise.
+       * tst-trans.sh: Likewise.
+       * tst-wctype.sh: Likewise.
+       * Makefile: Do not specify -e option when running testsuite
+       shell scripts.
+
        * sort-test.sh: Add copyright header.
 
 2012-09-05  Jeff Law  <law@redhat.com>
index 0873a5524f051a0bfab9e88c73f7731354c30b57..5be2413d3cd9bfc84f4f3043c2a3729c000e39f7 100644 (file)
@@ -1,5 +1,4 @@
-# Copyright (C) 1996-2003,2005,2007-2009,2011,2012
-# Free Software Foundation, Inc.
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -134,7 +133,7 @@ generated-dirs += $(LOCALES)
 $(addprefix $(objpfx),$(CTYPE_FILES)): %: \
   gen-locale.sh $(common-objpfx)locale/localedef Makefile \
   $(addprefix charmaps/,$(CHARMAPS)) $(addprefix locales/,$(LOCALE_SRCS))
-       @$(SHELL) -e gen-locale.sh $(common-objpfx) '$(built-program-cmd)' $@
+       @$(SHELL) gen-locale.sh $(common-objpfx) '$(built-program-cmd)' $@
 
 $(addsuffix .out,$(addprefix $(objpfx),$(tests))): %: \
   $(addprefix $(objpfx),$(CTYPE_FILES))
@@ -146,45 +145,45 @@ tests: $(objpfx)sort-test.out $(objpfx)tst-fmon.out $(objpfx)tst-locale.out \
 
 $(objpfx)sort-test.out: sort-test.sh $(objpfx)collate-test $(objpfx)xfrm-test \
                       $(test-input-data) $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(test-input) \
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(test-input) \
          > $@
 $(objpfx)tst-fmon.out: tst-fmon.sh $(objpfx)tst-fmon tst-fmon.data \
                       $(objpfx)sort-test.out \
                       $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' tst-fmon.data \
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' tst-fmon.data \
          > $@
 $(objpfx)tst-numeric.out: tst-numeric.sh $(objpfx)tst-numeric tst-numeric.data \
                       $(objpfx)sort-test.out \
                       $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' tst-numeric.data \
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' tst-numeric.data \
          > $@
 $(objpfx)tst-locale.out: tst-locale.sh $(common-objpfx)locale/localedef \
                         $(ld-test-srcs) $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)' > $@
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@
 $(objpfx)tst-rpmatch.out: tst-rpmatch.sh $(objpfx)tst-rpmatch \
                          $(objpfx)tst-fmon.out \
                          $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)' > $@
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@
 $(objpfx)tst-trans.out: tst-trans.sh $(objpfx)tst-trans \
                        $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)'
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
 $(objpfx)tst-mbswcs.out: tst-mbswcs.sh $(objpfx)tst-mbswcs1 \
                         $(objpfx)tst-mbswcs2 $(objpfx)tst-mbswcs3 \
                         $(objpfx)tst-mbswcs4 $(objpfx)tst-mbswcs5 \
                         $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)'
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
 $(objpfx)tst-ctype.out: tst-ctype.sh $(objpfx)tst-ctype \
                        $(objpfx)sort-test.out \
                        $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)'
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'
 $(objpfx)tst-wctype.out: tst-wctype.sh $(objpfx)tst-wctype \
                        $(objpfx)sort-test.out tst-wctype.input \
                        $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)'
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'
 $(objpfx)tst-langinfo.out: tst-langinfo.sh $(objpfx)tst-langinfo \
                        $(objpfx)sort-test.out \
                        $(addprefix $(objpfx),$(CTYPE_FILES))
-       $(SHELL) -e $< $(common-objpfx) '$(built-program-cmd)'
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'
 $(objpfx)tst-digits.out: $(objpfx)tst-locale.out
 $(objpfx)tst-mbswcs6.out: $(addprefix $(objpfx),$(CTYPE_FILES))
 endif
index 89a9e06ee70e98e9c58c9693546157bcf03b4071..6dfa7caca95e33da3ec847bd93907010f60983a0 100644 (file)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Generate test locale files.
-# Copyright (C) 2000,01,02 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx="$1"; shift
 localedef="$1"; shift
 locfile="$1"; shift
index 3abe802e8c42019b22042ce4907c356710a1f156..8f8be8f67b15cfe5fa782efa077ea180908684b9 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test collation using xfrm-test.
-# Copyright (C) 1997-2004 Free Software Foundation, Inc.
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 run_program_prefix=$1; shift
 lang=$*
index 61f8cae62b88309bf9a0d743d1a223ee27c0591f..16420a89b48bb7c711e39c1c510b30213bd254a8 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Testing the implementation of the isxxx() and toxxx() functions.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 tst_ctype=$1; shift
 status=0
index be6f128725d8acaa866ac86ec8b19eb61a2750f9..3e3dba945340476cdff77b07673ca580133d3727 100755 (executable)
@@ -1,9 +1,8 @@
 #! /bin/sh
 # Testing the implementation of strfmon(3).
-# Copyright (C) 1996-1998, 2000, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Jochen Hein <jochen.hein@delphi.central.de>, 1997.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 datafile=$3
index 567361c233ef6333c12a654f13bf427e9ea86cd9..04771cb02db77be02c5559afc2ab73f064643358 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test nl_langinfo.
-# Copyright (C) 2000, 2001, 2003, 2007, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 
index 96c26a750cfb3278d0a3ea4e4ba557c0d0ea1394..96eddc1187c1833c5b46ceb897106d408d4ca8bb 100755 (executable)
@@ -1,9 +1,8 @@
 #! /bin/sh
 # Testing the implementation of localedata.
-# Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1998-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Andreas Jaeger, <aj@arthur.rhein-neckar.de>, 1998.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 localedef=$1; shift
 
index 30667890cdc201aba3eb77c9f5c72e3f119cec5c..5a067ec0dad498ec71165bba33a84615d6e5415b 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Testing the implementation of the mb*towc*() and wc*tomb*() functions.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 run_program_prefix=$1; shift
 
index b78fc94830a34f5f8be92ca603d2dc8674348427..71a305832e7cd37f14181cb11ec816360fae40da 100644 (file)
@@ -1,9 +1,8 @@
 #! /bin/sh
 # Testing the implementation of LC_NUMERIC and snprintf(3).
-# Copyright (C) 1996, 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1996-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Jochen Hein <jochen.hein@delphi.central.de>, 1997.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 datafile=$3
index d8c79f7b0021e079944b7e88177c537a3fd11cdd..0fb0cdf1eab4bc0ab8848141184bf9bdd021c7a8 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh -f
 #
-# Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1998-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library and contains tests for
 # the rpmatch(3)-implementation.
 # contributed by Jochen Hein <jochen.hein@delphi.central.de>
@@ -18,6 +18,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, see <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 tst_rpmatch=$2
 
index 5155a35852ca19390c1d4145ae9bacee4952853f..e90b653ed198a0f04633a00a64bcb2bbe2ebab7b 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test character mapping definitions.
-# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 
index 3c657815d40296daed154834944a33f054f72efb..0dd8a82fa201ddfcc2b3b82d0cee57fe3a38ea64 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test locale-define character classes.
-# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1999-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 
index 55c675b2cdd05f8f1dd8d15d342972ec93fa569d..eb909fd64c311a96c2b3e2a55fcb3b0961551289 100644 (file)
@@ -109,7 +109,7 @@ ifeq (yes,$(build-shared))
 ifneq ($(PERL),no)
 tests: $(objpfx)tst-mtrace.out
 $(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
-       $(SHELL) -e $< $(common-objpfx)
+       $(SHELL) $< $(common-objpfx)
 endif
 endif
 endif
index 9ed9518db15fbc4477c70e981aaae1ba7c892f4e..14b0ad480f4cdf672a1cbacde4b8ad7a751b7f39 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Testing the mtrace function.
-# Copyright (C) 2000, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 
 status=0
index aa1c04e95da211d7a0b9b284a8b483c9a9a775b7..2176932501a70f874cb331d163c0f7cc3a5900e1 100644 (file)
@@ -1,5 +1,9 @@
 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
 
+       * tst-tls6.sh: Add "set -e".
+       * Makefile: Do not specify -e option when running testsuite
+       shell scripts.
+
        * tst-tls6.sh: Add copyright header.
 
 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
index 6f2b66c30344eac049b26b2c3acf7c0cec82e790..b081b07955f2106ac1f8c79d7e35df4fcef3cfd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2008,2009,2010,2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -472,7 +472,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) -e tst-tls6.sh $(common-objpfx) $(elf-objpfx) \
+       $(SHELL) $< $(common-objpfx) $(elf-objpfx) \
                    $(rtld-installed-name)
 endif
 
index 9c334fa8b36583ed053f92d4f8ceb992056f7c0f..2622e3385918fbadb9eac0064f230771b2258753 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # A tls test.
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 elf_objpfx=$1; shift
 rtld_installed_name=$1; shift
index 3560bb2c306514cf0be9234e47246b2a7af33f93..a4741849e58aaa42023e7bc476f8ead2c595bd14 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2007,2009,2010,2011,2012 Free Software Foundation, Inc.
+# Copyright (C) 1991-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -117,10 +117,10 @@ ifeq (no,$(cross-compiling))
 ifeq (yes,$(build-shared))
 tests: $(objpfx)globtest.out $(objpfx)wordexp-tst.out
 $(objpfx)globtest.out: globtest.sh $(objpfx)globtest
-       $(SHELL) -e globtest.sh $(common-objpfx) $(elf-objpfx) \
+       $(SHELL) $< $(common-objpfx) $(elf-objpfx) \
                 $(rtld-installed-name)
 $(objpfx)wordexp-tst.out: wordexp-tst.sh $(objpfx)wordexp-test
-       $(SHELL) -e wordexp-tst.sh $(common-objpfx) $(elf-objpfx) \
+       $(SHELL) $< $(common-objpfx) $(elf-objpfx) \
                 $(rtld-installed-name)
 endif
 endif
@@ -276,7 +276,7 @@ $(objpfx)tst-boost-mem: $(objpfx)tst-boost.out
        $(common-objpfx)malloc/mtrace $(objpfx)tst-boost.mtrace > $@
 
 $(objpfx)tst-getconf.out: tst-getconf.sh $(objpfx)getconf
-       $(SHELL) -e $< $(common-objpfx) $(elf-objpfx) $(rtld-installed-name)
+       $(SHELL) $< $(common-objpfx) $(elf-objpfx) $(rtld-installed-name)
 
 ifeq (yes,$(build-shared))
 $(objpfx)tst-regex: $(common-objpfx)rt/librt.so
index 73f198db2f2750aac2f040608a0311262fcdde82..286b1b49128926f6fd81f828d70ab66cccc918bc 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/bash
 # Test for glob(3).
-# Copyright (C) 1997-2011 Free Software Foundation, Inc.
+# Copyright (C) 1997-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 elf_objpfx=$1; shift
 rtld_installed_name=$1; shift
index 499cd071bdf0324b33de74b06b1ed7a6d918acf5..030926a74f71bb0eca6b064496880fe360d42713 100644 (file)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test for getconf(1).
-# Copyright (C) 2001-2002 Free Software Foundation, Inc.
+# Copyright (C) 2001-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 elf_objpfx=$1; shift
 if [ $# -eq 0 ]; then
index 53183e561dbe14a734560beec5d2eb4e51849889..fec529265b10ce1e462e047ad01b9c23ae2f6646 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Test for wordexp(3).
-# Copyright (C) 1998-2000 Free Software Foundation, Inc.
+# Copyright (C) 1998-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 # Some of these tests may look a little weird.
 # The first parameter to wordexp-test is what it gives to wordexp.
 # The others are just there to be parameters.
index 98115724318227ca9f5190878db6e02370721467..0cdf6307eafee99490fe91f5a077298f3ee34721 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2009, 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 1991-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -68,12 +68,12 @@ ifeq ($(cross-compiling),no)
 tests: do-tst-unbputc do-tst-printf
 
 do-tst-unbputc: $(objpfx)tst-unbputc.out
-$(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
-       $(SHELL) -e tst-unbputc.sh $(common-objpfx) '$(run-program-prefix)'
+$(objpfx)tst-unbputc.out: tst-unbputc.sh $(objpfx)tst-unbputc
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
 
 do-tst-printf: $(objpfx)tst-printf.out
-$(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
-       $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
+$(objpfx)tst-printf.out: tst-printf.sh $(objpfx)tst-printf
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)'
 endif
 
 CFLAGS-vfprintf.c = -Wno-uninitialized
index 43e42a8fddc1a3b58f60499d6c5abb8dc99fe7dd..d39b55179b59ddd35d2c0a77ea363b89e66ca601 100644 (file)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Testing of printf.
-# Copyright (C) 2000, 2002, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 run_program_prefix=$1; shift
 
index fd650d4838206b00b8d320db5fda990dcae8580b..1f28d4d240e86b17d550970adc4fa9769aeacec5 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Testing the stdio implementation
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1; shift
 run_program_prefix=$1; shift
 
index c730b4743394e699978141987ca6109b6351bf38..a5318ee00b17e0aeaaf083b02f72bdce65a6bde3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2009, 2011, 2012 Free Software Foundation, Inc.
+# Copyright (C) 1991-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -135,7 +135,7 @@ $(objpfx)isomac: isomac.c
        $(native-compile)
 
 $(objpfx)tst-fmtmsg.out: tst-fmtmsg.sh $(objpfx)tst-fmtmsg
-       $(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)stdlib/
+       $(SHELL) $< $(common-objpfx) '$(run-program-prefix)' $(common-objpfx)stdlib/
 
 $(objpfx)tst-putenv: $(objpfx)tst-putenvmod.so
 LDFLAGS-tst-putenv = $(no-as-needed)
index abde254e06249547dd4f7c5cce1b6cd68385f74b..868292eba27c538413e1480303fa3d569639f1d6 100755 (executable)
@@ -1,8 +1,7 @@
 #! /bin/sh
 # Test of fmtmsg function family.
-# Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
-#
 
 # The GNU C Library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 common_objpfx=$1
 run_program_prefix=$2
 objpfx=$3
index d4525bc7c0d3b0aea11e81f00042469c8dc3ee80..0acb69a17fdb807d25c2398102f21efd15f1e148 100644 (file)
@@ -41,7 +41,7 @@ $(objpfx)tst-quad2pie: $(objpfx)tst-quadmod2pie.o
 tests: $(objpfx)tst-xmmymm.out
 $(objpfx)tst-xmmymm.out: ../sysdeps/x86_64/tst-xmmymm.sh $(objpfx)ld.so
        @echo "Checking ld.so for SSE register use.  This will take a few seconds..."
-       $(SHELL) -e $< $(objpfx) > $@
+       $(SHELL) $< $(objpfx) > $@
 endif
 
 ifeq ($(subdir),csu)
index edb58b1e91208dcde5a6357a2cef3a1a53f98a95..64efc6e02190d216e13e421f40dde4ae23f7384d 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/bash
 # Make sure no code in ld.so uses xmm/ymm registers on x86-64.
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,8 @@
 # License along with the GNU C Library; if not, see
 # <http://www.gnu.org/licenses/>.
 
+set -e
+
 objpfx="$1"
 
 tmp=$(mktemp ${objpfx}tst-xmmymm.XXXXXX)