summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-04-09 19:54:08 +0000
committerBruno Haible <bruno@clisp.org>2001-04-09 19:54:08 +0000
commit14799a7c1a9aa1fbe821a8e9cadde27df45ae190 (patch)
tree1627b65fd2dca7429f6167bdcd11a309b3c57250 /tests
parented3d44d403d53556577b20a6aac4623b3c8e3600 (diff)
downloadexternal_gettext-14799a7c1a9aa1fbe821a8e9cadde27df45ae190.zip
external_gettext-14799a7c1a9aa1fbe821a8e9cadde27df45ae190.tar.gz
external_gettext-14799a7c1a9aa1fbe821a8e9cadde27df45ae190.tar.bz2
Silence the warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog6
-rwxr-xr-xtests/msgfmt-32
-rwxr-xr-xtests/msgmerge-52
-rwxr-xr-xtests/xgettext-32
4 files changed, 9 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 7f7d30d..2298294 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-09 Bruno Haible <haible@clisp.cons.org>
+
+ * msgfmt-3: Update regexp to filter out specific warnings.
+ * msgmerge-5: Likewise.
+ * xgettext-3: Likewise.
+
2001-04-06 Bruno Haible <haible@clisp.cons.org>
* plural-2: Change formula and result for ru.
diff --git a/tests/msgfmt-3 b/tests/msgfmt-3
index 520114a..e961bf1 100755
--- a/tests/msgfmt-3
+++ b/tests/msgfmt-3
@@ -21,7 +21,7 @@ tmpfiles="$tmpfiles mftest3.mo"
: ${MSGFMT=msgfmt}
LC_MESSAGES=C LC_ALL= \
${MSGFMT} mf-test3.po -o mftest3.mo 2>&1 \
- | grep -v 'warning: charset'
+ | grep -v '\(warning: Charset\|^ \)'
test ! -f mftest3.mo
result=$?
diff --git a/tests/msgmerge-5 b/tests/msgmerge-5
index 8acc78c..c9d0c07 100755
--- a/tests/msgmerge-5
+++ b/tests/msgmerge-5
@@ -40,7 +40,7 @@ tmpfiles="$tmpfiles mm-test5.out"
: ${MSGMERGE=msgmerge}
LC_MESSAGES=C LC_ALL= \
${MSGMERGE} -q mm-test5.in1.po mm-test5.in2.po -o mm-test5.out 2>&1 \
- | grep -v 'warning: charset'
+ | grep -v '\(warning: Charset\|^ \)'
tmpfiles="$tmpfiles mm-test5.ok"
cat <<EOF > mm-test5.ok
diff --git a/tests/xgettext-3 b/tests/xgettext-3
index aaff890..380208d 100755
--- a/tests/xgettext-3
+++ b/tests/xgettext-3
@@ -10,7 +10,7 @@ rm -f zero-domain.po
LC_MESSAGES=C LC_ALL= \
${XGETTEXT} -k_ -d zero-domain -x $top_srcdir/po/gettext.pot \
$top_srcdir/src/xgettext.c 2>&1 \
- | grep -v 'warning: charset'
+ | grep -v '\(warning: Charset\|^ \)'
test ! -f zero-domain.po
result=$?