diff options
author | Roumen Petrov <bugtrack@roumenpetrov.info> | 2014-01-12 19:07:44 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-01-28 15:59:38 +0900 |
commit | 6e79981d7542606f7c9b91fc4f824fe1a1e05224 (patch) | |
tree | ba9f069337b6a60224415ec1705e35f04fc13186 /gettext-tools/tests/msgmerge-compendium-6 | |
parent | 08f2cace5c62df98385abb36cd61ff1aa6cd1a45 (diff) | |
download | external_gettext-6e79981d7542606f7c9b91fc4f824fe1a1e05224.zip external_gettext-6e79981d7542606f7c9b91fc4f824fe1a1e05224.tar.gz external_gettext-6e79981d7542606f7c9b91fc4f824fe1a1e05224.tar.bz2 |
tests: use absolute path of source files
Replace ../$srcdir with $abs_srcdir in gettext-tools tests
to add support for configuration with absolute path.
Diffstat (limited to 'gettext-tools/tests/msgmerge-compendium-6')
-rwxr-xr-x | gettext-tools/tests/msgmerge-compendium-6 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gettext-tools/tests/msgmerge-compendium-6 b/gettext-tools/tests/msgmerge-compendium-6 index eb2d64f..d0ea9f2 100755 --- a/gettext-tools/tests/msgmerge-compendium-6 +++ b/gettext-tools/tests/msgmerge-compendium-6 @@ -12,21 +12,21 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles mm-ko.utf-8.pot" : ${MSGCONV=msgconv} -${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot ../${srcdir}/mm-ko.ascii.pot +${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot "$abs_srcdir"/mm-ko.ascii.pot tmpfiles="$tmpfiles mm-ko.utf-8.po" : ${MSGCONV=msgconv} -${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.po ../${srcdir}/mm-ko.euc-kr.po +${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.po "$abs_srcdir"/mm-ko.euc-kr.po tmpfiles="$tmpfiles mm-ko-comp.utf-8.po" : ${MSGCONV=msgconv} -${MSGCONV} --to-code=UTF-8 -o mm-ko-comp.utf-8.po ../${srcdir}/mm-ko-comp.euc-kr.po +${MSGCONV} --to-code=UTF-8 -o mm-ko-comp.utf-8.po "$abs_srcdir"/mm-ko-comp.euc-kr.po tmpfiles="$tmpfiles mm-c-6-AEE.tmp mm-c-6-AEE.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-AEE.tmp \ - --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \ - ../${srcdir}/mm-ko.euc-kr.po ../${srcdir}/mm-ko.ascii.pot + --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \ + "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-AEE.tmp > mm-c-6-AEE.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } @@ -35,7 +35,7 @@ tmpfiles="$tmpfiles mm-c-6-AEU.tmp mm-c-6-AEU.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-AEU.tmp \ --compendium mm-ko-comp.utf-8.po \ - ../${srcdir}/mm-ko.euc-kr.po ../${srcdir}/mm-ko.ascii.pot + "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-AEU.tmp > mm-c-6-AEU.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } @@ -43,8 +43,8 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mm-c-6-AUE.tmp mm-c-6-AUE.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-AUE.tmp \ - --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \ - mm-ko.utf-8.po ../${srcdir}/mm-ko.ascii.pot + --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \ + mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-AUE.tmp > mm-c-6-AUE.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } @@ -53,7 +53,7 @@ tmpfiles="$tmpfiles mm-c-6-AUU.tmp mm-c-6-AUU.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-AUU.tmp \ --compendium mm-ko-comp.utf-8.po \ - mm-ko.utf-8.po ../${srcdir}/mm-ko.ascii.pot + mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-AUU.tmp > mm-c-6-AUU.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } @@ -61,8 +61,8 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mm-c-6-UEE.tmp mm-c-6-UEE.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-UEE.tmp \ - --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \ - ../${srcdir}/mm-ko.euc-kr.po mm-ko.utf-8.pot + --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \ + "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-UEE.tmp > mm-c-6-UEE.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } @@ -71,7 +71,7 @@ tmpfiles="$tmpfiles mm-c-6-UEU.tmp mm-c-6-UEU.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-UEU.tmp \ --compendium mm-ko-comp.utf-8.po \ - ../${srcdir}/mm-ko.euc-kr.po mm-ko.utf-8.pot + "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-UEU.tmp > mm-c-6-UEU.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } @@ -79,7 +79,7 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mm-c-6-UUE.tmp mm-c-6-UUE.out" : ${MSGMERGE=msgmerge} ${MSGMERGE} -q -o mm-c-6-UUE.tmp \ - --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \ + --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \ mm-ko.utf-8.po mm-ko.utf-8.pot test $? = 0 || { rm -fr $tmpfiles; exit 1; } LC_ALL=C tr -d '\r' < mm-c-6-UUE.tmp > mm-c-6-UUE.out |