From f1491ee620d556b2cdfe201e855c644500df2844 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 4 Jan 2002 22:24:50 +0000 Subject: [PATCH] Portability. --- tests/ChangeLog | 7 +++++++ tests/msgcat-2 | 6 +++--- tests/msgcat-3 | 6 +++--- tests/msgcat-4 | 6 +++--- tests/msgcomm-16 | 6 +++--- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 02300851f..2056cf04b 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,10 @@ +2002-01-04 Bruno Haible + + * msgcat-2: Avoid \" to " conversion in the here documents. + * msgcat-3: Likewise. + * msgcat-4: Likewise. + * msgcomm-16: Likewise. + 2001-12-22 Bruno Haible * tstngettext.c: Include exit.h instead of system.h. diff --git a/tests/msgcat-2 b/tests/msgcat-2 index 0706d326e..8e735bebf 100755 --- a/tests/msgcat-2 +++ b/tests/msgcat-2 @@ -6,7 +6,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 # input files with different charsets. tmpfiles="$tmpfiles mcat-test2.in1 mcat-test2.in2" -cat < mcat-test2.in1 +cat <<\EOF > mcat-test2.in1 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -30,7 +30,7 @@ msgstr "" "Glückwunsch!" EOF -cat < mcat-test2.in2 +cat <<\EOF > mcat-test2.in2 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -63,7 +63,7 @@ ${MSGCAT} --more-than=0 -o mcat-test2.out \ | grep -v 'warning: .* encodings' | grep -v '^ ' tmpfiles="$tmpfiles mcat-test2.ok" -cat << EOF > mcat-test2.ok +cat << \EOF > mcat-test2.ok # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. diff --git a/tests/msgcat-3 b/tests/msgcat-3 index be826d38b..deecf2d88 100755 --- a/tests/msgcat-3 +++ b/tests/msgcat-3 @@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 # 1. ISO-8859-1, 2. UTF-8; plus --use-first tmpfiles="$tmpfiles mcat-test3.in1 mcat-test3.in2" -cat < mcat-test3.in1 +cat <<\EOF > mcat-test3.in1 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -31,7 +31,7 @@ msgstr "" "Glückwunsch!" EOF -cat < mcat-test3.in2 +cat <<\EOF > mcat-test3.in2 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -64,7 +64,7 @@ ${MSGCAT} --use-first --more-than=0 -o mcat-test3.out \ | grep -v 'warning: .* encodings' | grep -v '^ ' tmpfiles="$tmpfiles mcat-test3.ok" -cat << EOF > mcat-test3.ok +cat << \EOF > mcat-test3.ok # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. diff --git a/tests/msgcat-4 b/tests/msgcat-4 index bac351f79..365a8fe2e 100755 --- a/tests/msgcat-4 +++ b/tests/msgcat-4 @@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 # 1. UTF-8, 2. ISO-8859-1; plus --use-first tmpfiles="$tmpfiles mcat-test4.in1 mcat-test4.in2" -cat < mcat-test4.in1 +cat <<\EOF > mcat-test4.in1 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -30,7 +30,7 @@ msgid "You can log in as \"%1\"." msgstr "Sie können sich als \"%1\" einloggen." EOF -cat < mcat-test4.in2 +cat <<\EOF > mcat-test4.in2 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -64,7 +64,7 @@ ${MSGCAT} --use-first --more-than=0 -o mcat-test4.out \ | grep -v 'warning: .* encodings' | grep -v '^ ' tmpfiles="$tmpfiles mcat-test4.ok" -cat << EOF > mcat-test4.ok +cat << \EOF > mcat-test4.ok # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. diff --git a/tests/msgcomm-16 b/tests/msgcomm-16 index 1b4fcc304..b2d2162d3 100755 --- a/tests/msgcomm-16 +++ b/tests/msgcomm-16 @@ -6,7 +6,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 # input files with different charsets. tmpfiles="$tmpfiles mcomm-test16.in1 mcomm-test16.in2" -cat < mcomm-test16.in1 +cat <<\EOF > mcomm-test16.in1 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -30,7 +30,7 @@ msgstr "" "Glückwunsch!" EOF -cat < mcomm-test16.in2 +cat <<\EOF > mcomm-test16.in2 # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. @@ -63,7 +63,7 @@ ${MSGCOMM} --more-than=0 -o mcomm-test16.out \ | grep -v 'warning: .* encodings' | grep -v '^ ' tmpfiles="$tmpfiles mcomm-test16.ok" -cat << EOF > mcomm-test16.ok +cat << \EOF > mcomm-test16.ok # German message file for xyz. # Copyright (C) 1999, 2000, 2001 xyz. # Kab Def , 2000. -- 2.47.3