diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-12-03 16:40:29 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-12-03 16:40:29 +0900 |
commit | e14190e616d174117c35de63add2ad15d2604143 (patch) | |
tree | d5e25e6253b74c79615462c4c2f7392d1bf409ab | |
parent | 971a690a83a9bb958dbe8c001ba6b195ec05d535 (diff) | |
download | external_gettext-e14190e616d174117c35de63add2ad15d2604143.zip external_gettext-e14190e616d174117c35de63add2ad15d2604143.tar.gz external_gettext-e14190e616d174117c35de63add2ad15d2604143.tar.bz2 |
tests: Fix data file location for msgunfmt-3
* msgunfmt-3: Locate overflow.mo in $abs_srcdir instead of '..'.
-rw-r--r-- | gettext-tools/tests/ChangeLog | 4 | ||||
-rwxr-xr-x | gettext-tools/tests/msgunfmt-3 | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index f8af86e..faa6e3b 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,7 @@ +2014-12-03 Daiki Ueno <ueno@gnu.org> + + * msgunfmt-3: Locate overflow.mo in $abs_srcdir instead of '..'. + 2014-12-02 Daiki Ueno <ueno@gnu.org> tests: Add test for C++11 string literals diff --git a/gettext-tools/tests/msgunfmt-3 b/gettext-tools/tests/msgunfmt-3 index a1b98d7..c09d0ea 100755 --- a/gettext-tools/tests/msgunfmt-3 +++ b/gettext-tools/tests/msgunfmt-3 @@ -4,6 +4,6 @@ # Test invalid or incomplete input : ${MSGUNFMT=msgunfmt} -LANGUAGE= LC_ALL=C ${MSGUNFMT} ../overflow.mo 2>mu-3.err >/dev/null +LANGUAGE= LC_ALL=C ${MSGUNFMT} "$abs_srcdir"/overflow.mo 2>mu-3.err >/dev/null test $? != 0 || exit 1 grep ' is truncated' mu-3.err >/dev/null || exit 1 |