summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-14 12:10:54 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 00:57:46 +0200
commit3432975c026720159c51444d752858d05cfe6def (patch)
treeaef1814f77c53dd11d5f2c5af1eab0d0c9828b19
parent82ebf66047d50ac3ae660ffbc78ec637fb84af11 (diff)
downloadexternal_gettext-3432975c026720159c51444d752858d05cfe6def.zip
external_gettext-3432975c026720159c51444d752858d05cfe6def.tar.gz
external_gettext-3432975c026720159c51444d752858d05cfe6def.tar.bz2
Make msgexec-2 work when builddir != srcdir.
-rw-r--r--tests/ChangeLog4
-rwxr-xr-xtests/msgexec-22
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index c214b3a..0548a78 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,9 @@
2002-01-12 Bruno Haible <bruno@clisp.org>
+ * msgexec-2: Make it work when builddir != srcdir.
+
+2002-01-12 Bruno Haible <bruno@clisp.org>
+
* lang-librep: Skip the test if the 'rep' program is too old.
2002-01-09 Bruno Haible <bruno@clisp.org>
diff --git a/tests/msgexec-2 b/tests/msgexec-2
index 78e4c26..315fd8b 100755
--- a/tests/msgexec-2
+++ b/tests/msgexec-2
@@ -63,7 +63,7 @@ ${MSGEXEC} -i mex-test2.po 0 > mex-test2.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${CMP=cmp}
-${CMP} mex-test2.ok mex-test2.out >/dev/null 2>/dev/null
+${CMP} ${top_srcdir}/tests/mex-test2.ok mex-test2.out >/dev/null 2>/dev/null
result=$?
rm -fr $tmpfiles