diff options
author | Jim Meyering <meyering@redhat.com> | 2010-06-16 11:25:52 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-06-16 11:38:20 +0200 |
commit | 11af652627ad1727d1708bf8effcb1aef02c11bd (patch) | |
tree | 763c7c1e6ebc6bfb52a9292526575b892b23d5b5 | |
parent | 34d36175feb39ad66a7e025e26456b5192d0fa5a (diff) | |
download | idutils-11af652627ad1727d1708bf8effcb1aef02c11bd.tar.gz idutils-11af652627ad1727d1708bf8effcb1aef02c11bd.tar.bz2 idutils-11af652627ad1727d1708bf8effcb1aef02c11bd.zip |
tests: fix "make distcheck" failure
* testsuite/help-version (mkid_setup): Tell mkid not to access
the not-yet-installed id-lang.map file.
(xtokid_setup): Likewise.
-rwxr-xr-x | testsuite/help-version | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/help-version b/testsuite/help-version index 10f93ad..2518f6d 100755 --- a/testsuite/help-version +++ b/testsuite/help-version @@ -183,11 +183,13 @@ shred_setup () { args=$tmp_in; } touch_setup () { args=$tmp_in2; } truncate_setup () { args="--reference=$tmp_in $tmp_in2"; } -mkid_setup () { printf 'f(){}\ntypedef int t;\n' > f.c; args=. ; } +# Specify a map, so mkid doesn't try to use the not-yet-installed id-lang.map. +mkid_setup () { + printf 'f(){}\ntypedef int t;\n' > f.c; echo '*.c C' > m; args='-m m .' ; } lid_setup () { args=; } fid_setup () { args=f.c; } fnid_setup () { args=; } -xtokid_setup () { args=; } +xtokid_setup () { args='-m m'; } aid_setup () { args=f; } eid_setup () { args=--version; } gid_setup () { args=f; } |