From 57c69bef13298a3fbcedebf4c5fcecc690b75efb Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 24 Sep 2012 20:52:13 +0000 Subject: Set "fail on error" mode directly in testsuite shell scripts --- intl/Makefile | 12 ++++++------ intl/tst-gettext.sh | 5 +++-- intl/tst-gettext2.sh | 5 +++-- intl/tst-gettext4.sh | 5 +++-- intl/tst-gettext6.sh | 5 +++-- intl/tst-translit.sh | 5 +++-- 6 files changed, 21 insertions(+), 16 deletions(-) (limited to 'intl') diff --git a/intl/Makefile b/intl/Makefile index d3ea4cb..764badc 100644 --- a/intl/Makefile +++ b/intl/Makefile @@ -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) diff --git a/intl/tst-gettext.sh b/intl/tst-gettext.sh index e8fee9f..a3ac377 100755 --- a/intl/tst-gettext.sh +++ b/intl/tst-gettext.sh @@ -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 # . +set -e + common_objpfx=$1 objpfx=$2 malloc_trace=$3 diff --git a/intl/tst-gettext2.sh b/intl/tst-gettext2.sh index 656c2e1..2d9c52f 100644 --- a/intl/tst-gettext2.sh +++ b/intl/tst-gettext2.sh @@ -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 # . +set -e + common_objpfx=$1 objpfx=$2 diff --git a/intl/tst-gettext4.sh b/intl/tst-gettext4.sh index ac95be1..4067071 100755 --- a/intl/tst-gettext4.sh +++ b/intl/tst-gettext4.sh @@ -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 # . +set -e + common_objpfx=$1 run_program_prefix=$2 objpfx=$3 diff --git a/intl/tst-gettext6.sh b/intl/tst-gettext6.sh index b83678e..2db0cd6 100644 --- a/intl/tst-gettext6.sh +++ b/intl/tst-gettext6.sh @@ -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 # . +set -e + common_objpfx=$1 run_program_prefix=$2 objpfx=$3 diff --git a/intl/tst-translit.sh b/intl/tst-translit.sh index 3091ab9..93159c7 100755 --- a/intl/tst-translit.sh +++ b/intl/tst-translit.sh @@ -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 # . +set -e + common_objpfx=$1 objpfx=$2 -- cgit v1.1