projects
/
platform
/
upstream
/
gettext.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 0.19.7
[platform/upstream/gettext.git]
/
gettext-tools
/
tests
/
msgconv-3
diff --git
a/gettext-tools/tests/msgconv-3
b/gettext-tools/tests/msgconv-3
index
97582f1
..
ac44d96
100755
(executable)
--- a/
gettext-tools/tests/msgconv-3
+++ b/
gettext-tools/tests/msgconv-3
@@
-1,11
+1,8
@@
#! /bin/sh
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test failing conversion from ISO-8859-15 to ISO-8859-1.
# Test failing conversion from ISO-8859-15 to ISO-8859-1.
-tmpfiles=""
-trap 'rm -fr $tmpfiles' 1 2 3 15
-
-tmpfiles="$tmpfiles mco-test3.po"
cat <<\EOF > mco-test3.po
msgid ""
msgstr ""
cat <<\EOF > mco-test3.po
msgid ""
msgstr ""
@@
-23,12
+20,9
@@
msgid "Werk"
msgstr "¼uvre"
EOF
msgstr "¼uvre"
EOF
-tmpfiles="$tmpfiles mco-test3.out"
: ${MSGCONV=msgconv}
${MSGCONV} -t ISO-8859-1 mco-test3.po -o mco-test3.out 2>/dev/null
test $? = 1
result=$?
: ${MSGCONV=msgconv}
${MSGCONV} -t ISO-8859-1 mco-test3.po -o mco-test3.out 2>/dev/null
test $? = 1
result=$?
-rm -fr $tmpfiles
-
exit $result
exit $result