summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-01-02 19:04:02 +0100
committerJim Meyering <meyering@redhat.com>2008-01-14 17:57:50 +0100
commit3d315f7b5ce3fe0977b9255d2a831016c3c449ab (patch)
treea9feac7829136ccd6afca16e0cd208b9a3582c5f
parent938c68aff4782e86856379002485b33ff09c212f (diff)
downloadidutils-3d315f7b5ce3fe0977b9255d2a831016c3c449ab.tar.gz
idutils-3d315f7b5ce3fe0977b9255d2a831016c3c449ab.tar.bz2
idutils-3d315f7b5ce3fe0977b9255d2a831016c3c449ab.zip
Avoid a test failure.
* testsuite/infloop-kawa-el: Invoke mkid with -m, since id-lang.map may not be installed yet. * testsuite/Makefile.am (TESTS_ENVIRONMENT): Set abs_top_srcdir. Signed-off-by: Jim Meyering <meyering@redhat.com>
-rw-r--r--testsuite/Makefile.am1
-rwxr-xr-xtestsuite/infloop-kawa-el3
2 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index cce9c0f..28a3383 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -5,6 +5,7 @@ TESTS = \
infloop-kawa-el
TESTS_ENVIRONMENT = \
+ abs_top_srcdir='$(abs_top_srcdir)' \
PATH="$(abs_builddir)/../src$(PATH_SEPARATOR)$$PATH"
EXTRA_DIST = $(TESTS) single_file_token_bug.c
diff --git a/testsuite/infloop-kawa-el b/testsuite/infloop-kawa-el
index 4b3c391..e7a1f67 100755
--- a/testsuite/infloop-kawa-el
+++ b/testsuite/infloop-kawa-el
@@ -47,7 +47,8 @@ fi
fail=0
-mkid f.el > out || fail=1
+lang_map="$abs_top_srcdir/libidu/id-lang.map"
+mkid -m "$lang_map" f.el > out || fail=1
aid -R none b >> out || fail=1
cmp out exp || fail=1