]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix msginit-4 test failure when run step-by-step.
authorBruno Haible <bruno@clisp.org>
Tue, 2 Oct 2018 12:43:43 +0000 (14:43 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Oct 2018 21:44:05 +0000 (23:44 +0200)
* gettext-tools/tests/msginit-4: Don't assume that the test is run in a
directory with just one POT file.

gettext-tools/tests/msginit-4

index 19c442eeb141372a673f5c2639ec798ba6cab6d8..c37f3f51d62357ae5a9f8f683e3ae9cfb20db6ee 100755 (executable)
@@ -44,7 +44,8 @@ msgstr ""
 EOF
 
 : ${MSGINIT=msginit}
-GETTEXTLIBDIR="$top_builddir"/src GETTEXTCLDRDIR="$abs_srcdir" ${MSGINIT} -l foo --no-translator --no-wrap -o mi-test4.tmp 2>mi-test4.err
+GETTEXTLIBDIR="$top_builddir"/src GETTEXTCLDRDIR="$abs_srcdir" \
+${MSGINIT} -i mi-test4.pot -l foo --no-translator --no-wrap -o mi-test4.tmp 2>mi-test4.err
 test $? = 0 || { cat mi-test4.err 1>&2; Exit 1; }
 
 # The charset stored in the header entry is the locale encoding of the gl_IE