+2013-07-10 Daiki Ueno <ueno@gnu.org>
+
+ gettext-tools: convert tests to use init.sh from Gnulib
+ * autogen.sh: Copy tests/init.sh from Gnulib into gettext-tools/tests.
+
2013-07-07 Daiki Ueno <ueno@gnu.org>
* NEWS: Mention libasprintf change and Tcl bug fix.
'
$GNULIB_TOOL --dir=gettext-tools --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --macro-prefix=gtpo --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local --local-symlink \
--import $GNULIB_MODULES_LIBGETTEXTPO $GNULIB_MODULES_LIBGETTEXTPO_OTHER
+ $GNULIB_TOOL --copy-file tests/init.sh gettext-tools
fi
fi
+2013-07-10 Daiki Ueno <ueno@gnu.org>
+
+ gettext-tools: convert tests to use init.sh from Gnulib
+ * Makefile.am (TESTS_ENVIRONMENT): Don't define LIBTOOL envvar
+ since it contains a relative path which cannot easily modified by
+ init.sh-using tests. Set it in the tests instead.
+ * *: convert to use init.sh.
+
2013-07-07 Daiki Ueno <ueno@gnu.org>
* lang-javascript: Fix gjs module checks.
MSGUNIQ="$(CHECKER) msguniq" \
RECODE="$(CHECKER) recode" \
OBJEXT='@OBJEXT@' EXEEXT='@EXEEXT@' \
- LIBTOOL='@LIBTOOL@' \
CC='@CC@' CFLAGS='@CFLAGS@' \
CXX='@CXX@' CXXFLAGS='@CXXFLAGS@' \
CPPFLAGS='@CPPFLAGS@' LDFLAGS='@LDFLAGS@' \
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of awk format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of awk format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Boost format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Boost format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of C format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of C format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ISO C 99 <inttypes.h> format string directives.
tmpfiles="$tmpfiles fc3.tmp fc3.pot"
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc3.tmp --omit-header --no-location ${top_srcdir}/tests/format-c-3-prg.c
+${XGETTEXT} -o fc3.tmp --omit-header --no-location ../${srcdir}/format-c-3-prg.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < fc3.tmp > fc3.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
${DIFF} fc3-de.po fc3-de.po.un || exit 1
-LANGUAGE= ./fc3 de_DE
+LANGUAGE= ../fc3 de_DE
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ISO C 99 <inttypes.h> format string directives with plural forms.
tmpfiles="$tmpfiles fc4.tmp fc4.pot"
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc4.tmp --omit-header --no-location ${top_srcdir}/tests/format-c-4-prg.c
+${XGETTEXT} -o fc4.tmp --omit-header --no-location ../${srcdir}/format-c-4-prg.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < fc4.tmp > fc4.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
${DIFF} fc4-de.po fc4-de.po.un || exit 1
-LANGUAGE= ./fc4 de_DE
+LANGUAGE= ../fc4 de_DE
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test 'I' format directive flag.
tmpfiles="$tmpfiles fc5.tmp fc5.pot"
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc5.tmp --omit-header --no-location ${top_srcdir}/tests/format-c-5-prg.c
+${XGETTEXT} -o fc5.tmp --omit-header --no-location ../${srcdir}/format-c-5-prg.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < fc5.tmp > fc5.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
${DIFF} fa.po fa.po.un || exit 1
-LANGUAGE= ./fc5 fa_IR
+LANGUAGE= ../fc5 fa_IR
case $? in
0) ;;
77)
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of C# format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Java format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Emacs Lisp format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Emacs Lisp format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of GCC internal format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of GCC internal format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of GFC internal format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of GFC internal format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Java format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Java format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of JavaScript format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of JavaScript format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of KDE format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of KDE format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of librep format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of librep format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Lisp format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Lisp format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Lua format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Python format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Object Pascal format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Object Pascal format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Perl format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Perl format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Perl brace format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Perl brace format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Perl format strings of both kinds (printf and brace).
# This test is for the combination of both kinds.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Perl format strings.
# This test is for the combination of printf and brace format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of PHP format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of PHP format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Python format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Python format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Python brace format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Python brace format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Qt format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Qt format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Qt plural format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Qt plural format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Scheme format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Lisp format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Shell format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Shell format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of Tcl format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of Tcl format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of YCP format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test checking of YCP format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test the gettext program with -e option.
tmpfiles="$tmpfiles gt-1"
test -d gt-1 || mkdir gt-1
test -d gt-1/LC_MESSAGES || mkdir gt-1/LC_MESSAGES
-cp $top_srcdir/tests/test.mo gt-1/LC_MESSAGES
+cp ../$srcdir/test.mo gt-1/LC_MESSAGES
tmpfiles="$tmpfiles gt-test1.out"
: ${GETTEXT=gettext}
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test the gettext program without -e option.
tmpfiles="$tmpfiles gt-2"
test -d gt-2 || mkdir gt-2
test -d gt-2/LC_MESSAGES || mkdir gt-2/LC_MESSAGES
-cp $top_srcdir/tests/test.mo gt-2/LC_MESSAGES
+cp ../$srcdir/test.mo gt-2/LC_MESSAGES
tmpfiles="$tmpfiles gt-test2.out"
: ${GETTEXT=gettext}
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that on glibc systems, gettext() works right even with intermediate
# setlocale() calls.
}
# This test works only on systems that have a de_DE and fr_FR locale installed.
-LC_ALL=de_DE ./testlocale || {
+LC_ALL=de_DE ../testlocale || {
if test -f /usr/bin/localedef; then
echo "Skipping test: locale de_DE not installed"
else
fi
exit 77
}
-LC_ALL=fr_FR ./testlocale || {
+LC_ALL=fr_FR ../testlocale || {
if test -f /usr/bin/localedef; then
echo "Skipping test: locale fr_FR not installed"
else
test -d gt-3/fr_FR/LC_MESSAGES || mkdir gt-3/fr_FR/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o gt-3/de_DE/LC_MESSAGES/tstlang.mo ${top_srcdir}/tests/gettext-3-1.po
-${MSGFMT} -o gt-3/fr_FR/LC_MESSAGES/tstlang.mo ${top_srcdir}/tests/gettext-3-2.po
+${MSGFMT} -o gt-3/de_DE/LC_MESSAGES/tstlang.mo ../${srcdir}/gettext-3-1.po
+${MSGFMT} -o gt-3/fr_FR/LC_MESSAGES/tstlang.mo ../${srcdir}/gettext-3-2.po
tmpfiles="$tmpfiles gt-3.ok"
cat <<EOF > gt-3.ok
EOF
tmpfiles="$tmpfiles gt-3.out"
-./gettext-3-prg > gt-3.out || exit 1
+../gettext-3-prg > gt-3.out || exit 1
: ${DIFF=diff}
${DIFF} gt-3.ok gt-3.out || exit 1
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that bind_textdomain_codeset() works.
# a traditional french locale is installed; no need to check also for a
# traditional german locale.
: ${LOCALE_FR=fr_FR}
-{ test $LOCALE_FR != none && LC_ALL=$LOCALE_FR ./testlocale; } || {
+{ test $LOCALE_FR != none && LC_ALL=$LOCALE_FR ../testlocale; } || {
if test -f /usr/bin/localedef; then
echo "Skipping test: no traditional french locale is installed"
else
test -d gt-4/fr/LC_MESSAGES || mkdir gt-4/fr/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o gt-4/fr/LC_MESSAGES/codeset.mo ${top_srcdir}/tests/gettext-4.po
+${MSGFMT} -o gt-4/fr/LC_MESSAGES/codeset.mo ../${srcdir}/gettext-4.po
-./gettext-4-prg $LOCALE_FR || exit 1
+../gettext-4-prg $LOCALE_FR || exit 1
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that on glibc systems, the gettext() results come out in the correct
# encoding for locales that differ only in their encoding.
# This test works only on systems that have a de_DE.ISO-8859-1 and
# de_DE.UTF-8 locale installed.
-LC_ALL=de_DE.ISO-8859-1 ./testlocale || {
+LC_ALL=de_DE.ISO-8859-1 ../testlocale || {
if test -f /usr/bin/localedef; then
echo "Skipping test: locale de_DE.ISO-8859-1 not installed"
else
fi
exit 77
}
-LC_ALL=de_DE.UTF-8 ./testlocale || {
+LC_ALL=de_DE.UTF-8 ../testlocale || {
if test -f /usr/bin/localedef; then
echo "Skipping test: locale de_DE.UTF-8 not installed"
else
test -d gt-5/de_DE/LC_MESSAGES || mkdir gt-5/de_DE/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o gt-5/de_DE/LC_MESSAGES/codeset.mo ${top_srcdir}/tests/gettext-5.po
+${MSGFMT} -o gt-5/de_DE/LC_MESSAGES/codeset.mo ../${srcdir}/gettext-5.po
-./gettext-5-prg || exit 1
+../gettext-5-prg || exit 1
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that on glibc systems, gettext() in multithreaded applications works
# correctly if different threads operate in different locales with the same
test -d gt-6/fr_FR/LC_MESSAGES || mkdir gt-6/fr_FR/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o gt-6/de_DE/LC_MESSAGES/tstthread.mo ${top_srcdir}/tests/gettext-6-1.po
-${MSGFMT} -o gt-6/fr_FR/LC_MESSAGES/tstthread.mo ${top_srcdir}/tests/gettext-6-2.po
+${MSGFMT} -o gt-6/de_DE/LC_MESSAGES/tstthread.mo ../${srcdir}/gettext-6-1.po
+${MSGFMT} -o gt-6/fr_FR/LC_MESSAGES/tstthread.mo ../${srcdir}/gettext-6-2.po
tmpfiles="$tmpfiles gt-6.ok"
cat <<EOF > gt-6.ok
EOF
tmpfiles="$tmpfiles gt-6.out"
-./gettext-6-prg > gt-6.out
+../gettext-6-prg > gt-6.out
case $? in
0) ;;
77)
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that on glibc systems, gettext() in multithreaded applications works
# correctly if different threads operate in different locales referring to
test -d gt-7/de_DE/LC_MESSAGES || mkdir gt-7/de_DE/LC_MESSAGES
: ${MSGFMT=msgfmt}
-${MSGFMT} -o gt-7/de_DE/LC_MESSAGES/tstthread.mo ${top_srcdir}/tests/gettext-7.po
+${MSGFMT} -o gt-7/de_DE/LC_MESSAGES/tstthread.mo ../${srcdir}/gettext-7.po
tmpfiles="$tmpfiles gt-7.out"
-./gettext-7-prg > gt-7.out
+../gettext-7-prg > gt-7.out
case $? in
0) ;;
77)
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that gettext() does not crash by stack overflow when msgid is very long.
-./gettext-8-prg
+../gettext-8-prg
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test the libgettextpo library.
tmpfiles="gtpo-1-copied.po gtpo-1-created.po"
-./gettextpo-1-prg${EXEEXT} ${srcdir}/gettextpo-1.de.po > /dev/null
+../gettextpo-1-prg${EXEEXT} ../${srcdir}/gettextpo-1.de.po > /dev/null
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
-${DIFF} ${srcdir}/gettextpo-1.de.po gtpo-1-copied.po
+${DIFF} ../${srcdir}/gettextpo-1.de.po gtpo-1-copied.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-${DIFF} ${srcdir}/gettextpo-1.de.po gtpo-1-created.po
+${DIFF} ../${srcdir}/gettextpo-1.de.po gtpo-1-created.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
rm -f $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the bash language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the C language.
# Assumes an fr_FR locale is installed.
EOF
# Variable needed by LTLIBINTL.
-top_builddir=..
+top_builddir=../..
tmpfiles="$tmpfiles l-c-prog.${OBJEXT} l-c-prog${EXEEXT}"
# Put the -I flags before ${CFLAGS} ${CPPFLAGS}, to make sure that libintl.h
# is found in the build directory, regardless of -I options present in
# ${CFLAGS} or ${CPPFLAGS}.
-${LIBTOOL} --quiet --mode=link ${CC} -I.. -I$top_srcdir/gnulib-lib ../gnulib-lib/libgettextlib.la -I../intl ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o l-c-prog prog.c ${LTLIBINTL} \
+: ${LIBTOOL=/bin/sh ../../libtool}
+${LIBTOOL} --quiet --mode=link ${CC} -I../.. -I../$top_srcdir/gnulib-lib ../../gnulib-lib/libgettextlib.la -I../../intl ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o l-c-prog prog.c ${LTLIBINTL} \
|| exit 1
tmpfiles="$tmpfiles l-c-prog.tmp l-c-prog.pot"
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the C++ language.
# Assumes an fr_FR locale is installed.
EOF
# Variable needed by LTLIBINTL.
-top_builddir=..
+top_builddir=../..
tmpfiles="$tmpfiles l-c++-prog.${OBJEXT} l-c++-prog${EXEEXT}"
# Compile in two steps from .cc to .o and from .o to 'l-c++-prog'. This way,
# Put the -I flags before ${CXXFLAGS} ${CPPFLAGS}, to make sure that libintl.h
# is found in the build directory, regardless of -I options present in
# ${CXXFLAGS} or ${CPPFLAGS}.
-${CXX} -I.. -I../../gettext-runtime/libasprintf -I$top_srcdir/gnulib-lib -I../intl ${CXXFLAGS} ${CPPFLAGS} -c l-c++-prog.cc \
+${CXX} -I../.. -I../../../gettext-runtime/libasprintf -I../$top_srcdir/gnulib-lib -I../../intl ${CXXFLAGS} ${CPPFLAGS} -c l-c++-prog.cc \
|| exit 1
# Remove the -Wl,--disable-auto-import option here that is added by
# woe32-dll.m4. Cygwin 1.7.2 does not support it in C++ mode: It gives
# a link error about 'std::cout'.
-${LIBTOOL} --quiet --mode=link --tag=CXX ${CXX} ${CXXFLAGS} `echo "X ${LDFLAGS} " | sed -e 's/^X//' -e 's/ -Wl,--disable-auto-import / /'` -o l-c++-prog l-c++-prog.${OBJEXT} ../../gettext-runtime/libasprintf/libasprintf.la ../gnulib-lib/libgettextlib.la ${LTLIBINTL} \
+: ${LIBTOOL=/bin/sh ../../libtool}
+${LIBTOOL} --quiet --mode=link --tag=CXX ${CXX} ${CXXFLAGS} `echo "X ${LDFLAGS} " | sed -e 's/^X//' -e 's/ -Wl,--disable-auto-import / /'` -o l-c++-prog l-c++-prog.${OBJEXT} ../../../gettext-runtime/libasprintf/libasprintf.la ../../gnulib-lib/libgettextlib.la ${LTLIBINTL} \
|| exit 1
tmpfiles="$tmpfiles l-c++-prog.tmp l-c++-prog.pot"
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the CLISP language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the C# language.
# Assumes an fr_FR locale is installed.
tmpfiles="$tmpfiles l-csharp"
test -d l-csharp || mkdir l-csharp
-: ${CSHARPCOMP="/bin/sh ../csharpcomp.sh"}
-${CSHARPCOMP} -o l-csharp/program.exe -L ../../gettext-runtime/intl-csharp -l GNU.Gettext program.cs || exit 1
+: ${CSHARPCOMP="/bin/sh ../../csharpcomp.sh"}
+${CSHARPCOMP} -o l-csharp/program.exe -L ../../../gettext-runtime/intl-csharp -l GNU.Gettext program.cs || exit 1
tmpfiles="$tmpfiles l-csharp-prog.tmp l-csharp-prog.pot"
: ${XGETTEXT=xgettext}
${DIFF} l-csharp-fr.po l-csharp-fr.po.new || exit 1
: ${MSGFMT=msgfmt}
-GETTEXTCSHARPLIBDIR=../../gettext-runtime/intl-csharp \
+GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
${MSGFMT} --csharp -d l-csharp -r prog -l fr l-csharp-fr.po || exit 1
exit 0
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
-: ${CSHARPEXEC="/bin/sh ../csharpexec.sh"}
+: ${CSHARPEXEC="/bin/sh ../../csharpexec.sh"}
if test $LOCALE_FR != none; then
- LANGUAGE= LC_ALL=$LOCALE_FR ${CSHARPEXEC} -L ../../gettext-runtime/intl-csharp l-csharp/program.exe 2 > l-csharp-prog.out || exit 1
+ LANGUAGE= LC_ALL=$LOCALE_FR ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp l-csharp/program.exe 2 > l-csharp-prog.out || exit 1
${DIFF} l-csharp-prog.ok l-csharp-prog.out || exit 1
fi
if test $LOCALE_FR_UTF8 != none; then
- LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ${CSHARPEXEC} -L ../../gettext-runtime/intl-csharp l-csharp/program.exe 2 > l-csharp-prog.out || exit 1
+ LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp l-csharp/program.exe 2 > l-csharp-prog.out || exit 1
${DIFF} l-csharp-prog.oku l-csharp-prog.out || exit 1
fi
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Emacs Lisp language.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the GNU awk language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the guile implementation of Scheme.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Java language.
# Assumes an fr_FR locale is installed.
tmpfiles="$tmpfiles Program.class l-java l-java-prog.err"
test -d l-java || mkdir l-java
-: ${JAVACOMP="/bin/sh ../javacomp.sh"}
-CLASSPATH=../../gettext-runtime/intl-java/libintl.jar ${JAVACOMP} -d l-java Program.java 2>l-java-prog.err \
+: ${JAVACOMP="/bin/sh ../../javacomp.sh"}
+CLASSPATH=../../../gettext-runtime/intl-java/libintl.jar ${JAVACOMP} -d l-java Program.java 2>l-java-prog.err \
|| { cat l-java-prog.err 1>&2; exit 1; }
tmpfiles="$tmpfiles l-java-prog.tmp l-java-prog.pot"
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
-: ${JAVAEXEC="/bin/sh ../javaexec.sh"}
+: ${JAVAEXEC="/bin/sh ../../javaexec.sh"}
if test $LOCALE_FR != none; then
- LANGUAGE= LC_ALL=$LOCALE_FR CLASSPATH=l-java:../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 ISO-8859-1 > l-java-prog.out || exit 1
+ LANGUAGE= LC_ALL=$LOCALE_FR CLASSPATH=l-java:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 ISO-8859-1 > l-java-prog.out || exit 1
${DIFF} l-java-prog.ok l-java-prog.out || exit 1
fi
if test $LOCALE_FR_UTF8 != none; then
- LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 CLASSPATH=l-java:../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 UTF-8 > l-java-prog.out || exit 1
+ LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 CLASSPATH=l-java:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 UTF-8 > l-java-prog.out || exit 1
${DIFF} l-java-prog.oku l-java-prog.out || exit 1
fi
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the JavaScript language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the librep language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Lua language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Objective C language.
# Assumes an fr_FR locale is installed.
EOF
# Variable needed by LTLIBINTL.
-top_builddir=..
+top_builddir=../..
tmpfiles="$tmpfiles l-objc-prog.${OBJEXT} l-objc-prog${EXEEXT}"
# Put the -I flags before ${CFLAGS} ${CPPFLAGS}, to make sure that libintl.h
# is found in the build directory, regardless of -I options present in
# ${CFLAGS} or ${CPPFLAGS}.
-${LIBTOOL} --quiet --mode=link ${CC} -I.. -I$top_srcdir/gnulib-lib ../gnulib-lib/libgettextlib.la -I../intl ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o l-objc-prog prog.m ${LTLIBINTL} \
+: ${LIBTOOL=/bin/sh ../../libtool}
+${LIBTOOL} --quiet --mode=link ${CC} -I../.. -I../$top_srcdir/gnulib-lib ../../gnulib-lib/libgettextlib.la -I../../intl ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o l-objc-prog prog.m ${LTLIBINTL} \
|| exit 1
tmpfiles="$tmpfiles l-objc-prog.tmp l-objc-prog.pot"
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Object Pascal language.
# Assumes the following packages are installed: fpk.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Perl language,
# using printf format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Perl language,
# using brace format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the PHP language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the PO/POT format.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Python language.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities (including plural handling) in the Python
# language.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the RST format.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the sh language.
# Assumes an fr_FR locale is installed.
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
- LC_ALL=$LOCALE_FR ./testlocale
+ LC_ALL=$LOCALE_FR ../testlocale
case $? in
0) ;;
77) LOCALE_FR=none;;
esac
fi
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the GNU smalltalk language.
# Assumes an fr_FR locale is installed.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Tcl language.
# Assumes an fr_FR locale is installed.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the Vala language.
# Assumes an fr_FR locale is installed.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of gettext facilities in the YCP language.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --translated option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --set-obsolete option. Note that the output routines drop untranslated
# obsolete messages.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --clear-obsolete option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --fuzzy option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --obsolete option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test combination of selection and manipulation option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgattrib on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgattrib on a PO file with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgattrib option --clear-previous.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --untranslated option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --no-fuzzy option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --only-fuzzy option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --no-obsolete option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --only-obsolete option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test combination of two selection options.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --set-fuzzy option. Note that the output routines ignore the fuzzy
# attribute for untranslated messages.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --clear-fuzzy option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --translated option with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that msgcat doesn't introduce alternative syntax if all translations
# have the same msgstr.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify msgcat of two files, when the header entries have different comments
# but the same contents. The resulting header entry is not marked fuzzy,
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that msgcat leaves #: lines in place even if they have a bizarre
# syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that msgcat complains when it would need to change msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcat on PO files with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that msgcat complains when it would need to change msgctxts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcat on a PO file with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcat on a PO files with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcat with --width option. Check that format strings are not broken.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcat: handling of 'range:' flags.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of input files with different charsets.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of input files with different charsets.
# 1. ISO-8859-1, 2. UTF-8; plus --use-first
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of input files with different charsets:
# 1. UTF-8, 2. ISO-8859-1; plus --use-first
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of input files with different translations:
# try --use-first
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of input files with different translations:
# preserve all variants, add markers
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify 'msgcat --sort-output'
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify msgcat of two files, when the header entries have different comments
# and different contents. The resulting header entry must be marked fuzzy.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify msgcat of two files, when the header entries have the same comments
# but different contents. The resulting header entry must be marked fuzzy.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --use-first option with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test conversion from UTF-8 to BIG5 is a NOP with Java .properties syntax.
# Test that encoding names are case insensitive.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test reading in NeXTstep/GNUstep .strings syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test a succeeding comparison.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test a failing comparison.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test a failing comparison with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test comparison with PO files with previous msgids.
# Test --use-fuzzy option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --more-than=0 option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merge of common entries with --more-than=1 and --omit-header.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that --more-than=1 drops entries which occur only once.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that --less-than=2 removes entries which occur twice and keeps entries
# which occur only once.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that --less-than=2 removes entries which occur more than twice.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --force-po option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that without --force-po option, a PO file without translations is
# not created.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of input files with different charsets.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# -u, --unique (equivalent to --less-than=2): we are interested in unique
# entries only (entries occurring less than 2 times). But don't drop the
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --more-than=0; identical message are wanted once only.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --more-than=0; identical message are wanted once only.
# If the first occurrence is fuzzy, keep the fuzzy mark.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --no-location option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --more-than=0; identical message are wanted once only.
# If the first occurrence is not fuzzy, don't make the result fuzzy.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --more-than=0; identical message are wanted once only.
# If both occurrences are fuzzy, keep the fuzzy mark.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that the header entry is kept, otherwise the encoding is unknown.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# "msgcomm INPUT INPUT" is equivalent to "msguniq INPUT"
trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles mcomm-23.in1 mcomm-23.in2"
-cp ${top_srcdir}/tests/msguniq-a.in mcomm-23.in1
-cp ${top_srcdir}/tests/msguniq-a.in mcomm-23.in2
+cp ../${srcdir}/msguniq-a.in mcomm-23.in1
+cp ../${srcdir}/msguniq-a.in mcomm-23.in2
tmpfiles="$tmpfiles mcomm-23.tmp mcomm-23.out"
: ${MSGCOMM=msgcomm}
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
-${DIFF} ${top_srcdir}/tests/msguniq-a.out mcomm-23.out
+${DIFF} ../${srcdir}/msguniq-a.out mcomm-23.out
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --more-than=0 option with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcomm on PO files with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgcomm on PO files with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of format and 'range:' flag.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --omit-header option when there is no header.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test what happens with the header entry.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --omit-header option when there is a header.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --no-location option when there is a header.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --no-location and --omit-header options together.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merge of common entries with --more-than=1.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merge of common entries with --more-than=1 and --no-location.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test conversion from BIG5 to UTF-8.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test conversion from UTF-8 to BIG5.
# Test that encoding names are case insensitive.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test failing conversion from ISO-8859-15 to ISO-8859-1.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test conversion from UTF-8 to BIG5 is a NOP with Java .properties syntax.
# Test that encoding names are case insensitive.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgconv on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgconv on a PO file with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general operation.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general operation with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgen on a POT file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of an external command.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test the builtin command "0".
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${CMP=cmp}
-${CMP} ${top_srcdir}/tests/mex-test2.ok mex-test2.out >/dev/null 2>/dev/null
+${CMP} ../${srcdir}/mex-test2.ok mex-test2.out >/dev/null 2>/dev/null
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of an external command with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgexec on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general filter execution.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test sed execution.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general filter execution with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgfilter on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgfilter with command recode-sr-latin1.
# Verify that it converts to UTF-8.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test basic functionality, duplicate detection, multiple domains.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test format string checking in plural entries.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of invalid multibyte sequences.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ISO C 99 <inttypes.h> format string directives.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that an out-of-range Unicode character doesn't lead to a crash.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgfmt and msgunfmt on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test plural formula dependent checking of format strings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgfmt on a PO file with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test range dependent checking of format strings with plural forms.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test basic functionality, duplicate detection, multiple domains.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that an empty header entry is OK.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test c-format handling.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test multi-domain handling.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test catching of division by zero in plural expression.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Check for duplicates with identical translations
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Check for duplicates with different translations
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Duplicates are also fatal in obsolete marked entries.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test basic functioning with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test output in Qt .qm format.
tmpfiles="$tmpfiles mf-qt-1.qm"
: ${MSGFMT=msgfmt}
-${MSGFMT} --qt -o mf-qt-1.qm ${top_srcdir}/tests/qttest_pl.po
+${MSGFMT} --qt -o mf-qt-1.qm ../${srcdir}/qttest_pl.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${CMP=cmp}
-${CMP} ${top_srcdir}/tests/qttest_pl.qm mf-qt-1.qm >/dev/null 2>/dev/null
+${CMP} ../${srcdir}/qttest_pl.qm mf-qt-1.qm >/dev/null 2>/dev/null
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgfmt --qt on a PO file with contexts.
tmpfiles="$tmpfiles mf-qt-2.qm"
: ${MSGFMT=msgfmt}
-${MSGFMT} --qt ${top_srcdir}/tests/qttest2_de.po -o mf-qt-2.qm
+${MSGFMT} --qt ../${srcdir}/qttest2_de.po -o mf-qt-2.qm
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${CMP=cmp}
-${CMP} ${top_srcdir}/tests/qttest2_de.qm mf-qt-2.qm >/dev/null 2>/dev/null
+${CMP} ../${srcdir}/qttest2_de.qm mf-qt-2.qm >/dev/null 2>/dev/null
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --location option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that $ as end-of-line anchor does not cause a crash.
# <https://bugzilla.redhat.com/show_bug.cgi?id=483181>
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --domain option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --msgid and --msgstr options.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test multiple -e and multiple -f options.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --comment option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --msgid and --msgstr options with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msggrep on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --extracted-comment option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test interpretation of $ as end-of-line anchor.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test plural count for locales with nplurals != 2.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msginit on a POT file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general operation and line wrapping.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merging of a message which has plural forms in ref.pot but not
# in def.po.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merging of a message which has plural forms in ref.pot but not
# in def.po.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merging of a message which has plural forms in def.po but not
# in ref.pot.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merging of a message which has c-format specified in ref.pot but not
# in def.po.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test merging of a ref.pot in UTF-8 encoding against a def.po in legacy
# encoding (that was produced from an older version of ref.pot, in ASCII
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test pseudo-comments containing filenames that start with a digit.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test non-ASCII msgids when the PO file and the POT file are in different
# encodings.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that untranslated messages that are brought over from the .pot file
# get the right number of msgstrs.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge and msgcmp on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge --previous option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of duplicates.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge when the second argument is a PO file with obsolete messages
# (e.g. the result of an earlier msgmerge operation).
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge when a message's flags have been changed from c-format to
# kde-format. Reported by Chusslove Illich (Часлав Илић).
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge when a msgid_plural changed but msgid remained the same.
# Reported by Chusslove Illich (Часлав Илић).
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge when a msgid_plural changed but msgid remained the same,
# and --previous was specified.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msgmerge and msgcmp: handling of 'range:' flags.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of obsolete/untranslated messages.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of comments.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of header entry.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test non-ASCII character at the end of msgstr. (Triggered a glibc-2.1 bug.)
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test multi-domain handling.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test multi-domain handling.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Duplicates are also fatal in obsolete marked entries (cf. msgmerge-3).
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test compendium option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test compendium option with fuzziness.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test compendium option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test compendium option. Use it there was no "old" PO file at all
# (merely use /dev/null).
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test compendium option with a large compendium.
tmpfiles="$tmpfiles mm-c-5.tmp mm-c-5.out"
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-5.tmp \
- --compendium ${top_srcdir}/tests/mm-viet.comp.po \
- /dev/null ${top_srcdir}/tests/mm-viet.pot
+ --compendium ../${srcdir}/mm-viet.comp.po \
+ /dev/null ../${srcdir}/mm-viet.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < mm-c-5.tmp > mm-c-5.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
-${DIFF} ${top_srcdir}/tests/mm-viet.out mm-c-5.out
+${DIFF} ../${srcdir}/mm-viet.out mm-c-5.out
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test compendium option with mixed encodings.
# 8 combinations total:
tmpfiles="$tmpfiles mm-ko.utf-8.pot"
: ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot ${top_srcdir}/tests/mm-ko.ascii.pot
+${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.pot ../${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 ${top_srcdir}/tests/mm-ko.euc-kr.po
+${MSGCONV} --to-code=UTF-8 -o mm-ko.utf-8.po ../${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 ${top_srcdir}/tests/mm-ko-comp.euc-kr.po
+${MSGCONV} --to-code=UTF-8 -o mm-ko-comp.utf-8.po ../${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 ${top_srcdir}/tests/mm-ko-comp.euc-kr.po \
- ${top_srcdir}/tests/mm-ko.euc-kr.po ${top_srcdir}/tests/mm-ko.ascii.pot
+ --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \
+ ../${srcdir}/mm-ko.euc-kr.po ../${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; }
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AEU.tmp \
--compendium mm-ko-comp.utf-8.po \
- ${top_srcdir}/tests/mm-ko.euc-kr.po ${top_srcdir}/tests/mm-ko.ascii.pot
+ ../${srcdir}/mm-ko.euc-kr.po ../${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; }
tmpfiles="$tmpfiles mm-c-6-AUE.tmp mm-c-6-AUE.out"
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AUE.tmp \
- --compendium ${top_srcdir}/tests/mm-ko-comp.euc-kr.po \
- mm-ko.utf-8.po ${top_srcdir}/tests/mm-ko.ascii.pot
+ --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \
+ mm-ko.utf-8.po ../${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; }
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-AUU.tmp \
--compendium mm-ko-comp.utf-8.po \
- mm-ko.utf-8.po ${top_srcdir}/tests/mm-ko.ascii.pot
+ mm-ko.utf-8.po ../${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; }
tmpfiles="$tmpfiles mm-c-6-UEE.tmp mm-c-6-UEE.out"
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-UEE.tmp \
- --compendium ${top_srcdir}/tests/mm-ko-comp.euc-kr.po \
- ${top_srcdir}/tests/mm-ko.euc-kr.po mm-ko.utf-8.pot
+ --compendium ../${srcdir}/mm-ko-comp.euc-kr.po \
+ ../${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; }
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-UEU.tmp \
--compendium mm-ko-comp.utf-8.po \
- ${top_srcdir}/tests/mm-ko.euc-kr.po mm-ko.utf-8.pot
+ ../${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; }
tmpfiles="$tmpfiles mm-c-6-UUE.tmp mm-c-6-UUE.out"
: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-6-UUE.tmp \
- --compendium ${top_srcdir}/tests/mm-ko-comp.euc-kr.po \
+ --compendium ../${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
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test handling of obsolete/untranslated messages with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --update: location changed, and xgettext comment added. Both changes
# must be reflected in the resulting PO file. With Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --update: nothing changed; don't normalize second message
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --update: location changed, and xgettext comment added. Both changes
# must be reflected in the resulting PO file.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --update: POT-Creation-Date changed. This change must not be reflected
# in the resulting PO file; this is needed for projects which don't put the
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --update with --sort-output: POT-Creation-Date changed. This change
# must not be reflected in the resulting PO file; this is needed for projects
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of general operation.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ISO C 99 <inttypes.h> format string directives.
# Verify that msgunfmt, applied to a .mo file of major revision 1 (with
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of --csharp option.
EOF
: ${MSGFMT=msgfmt}
-GETTEXTCSHARPLIBDIR=../../gettext-runtime/intl-csharp \
+GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
${MSGFMT} --csharp -d mu-cs-1 -r prog -l fr mu-cs-1/fr.po || exit 1
: ${MSGUNFMT=msgunfmt}
-GETTEXTCSHARPEXEDIR=../src \
-GETTEXTCSHARPLIBDIR=../../gettext-runtime/intl-csharp \
+GETTEXTCSHARPEXEDIR=../../src \
+GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
${MSGUNFMT} --csharp -d mu-cs-1 -r prog -l fr -o mu-cs-1/prog.out || exit 1
: ${MSGCAT=msgcat}
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of --java option.
: ${MSGUNFMT=msgunfmt}
CLASSPATH=mu-java-1${CLASSPATH:+:$CLASSPATH} \
-GETTEXTJEXEDIR=../src GETTEXTJAR=../src/gettext.jar \
+GETTEXTJEXEDIR=../../src GETTEXTJAR=../../src/gettext.jar \
${MSGUNFMT} --java -d mu-java-1 -r prog -l fr -o mu-java-1/prog.out || exit 1
: ${MSGCAT=msgcat}
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of general operation with Java .properties syntax.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of --tcl option.
tmpfiles="$tmpfiles mu-tcl-1-prog.out"
: ${MSGUNFMT=msgunfmt}
-GETTEXTDATADIR=${top_srcdir}/src \
+GETTEXTDATADIR=../${top_srcdir}/src \
${MSGUNFMT} --tcl -d mu-tcl-1-msgs -l fr -o mu-tcl-1-prog.out || exit 1
tmpfiles="$tmpfiles mu-tcl-1-prog.ok"
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general operation.
tmpfiles="$tmpfiles msguniq-1.tmp msguniq-1.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -o msguniq-1.tmp ${top_srcdir}/tests/msguniq-a.in
+${MSGUNIQ} -w 1000 -o msguniq-1.tmp ../${srcdir}/msguniq-a.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < msguniq-1.tmp > msguniq-1.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
-${DIFF} ${top_srcdir}/tests/msguniq-a.out msguniq-1.out
+${DIFF} ../${srcdir}/msguniq-a.out msguniq-1.out
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --unique option.
tmpfiles="$tmpfiles msguniq-2.tmp msguniq-2.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -u -o msguniq-2.tmp ${top_srcdir}/tests/msguniq-a.in
+${MSGUNIQ} -w 1000 -u -o msguniq-2.tmp ../${srcdir}/msguniq-a.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < msguniq-2.tmp > msguniq-2.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --repeated option.
tmpfiles="$tmpfiles msguniq-3.tmp msguniq-3.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp ${top_srcdir}/tests/msguniq-a.in
+${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp ../${srcdir}/msguniq-a.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < msguniq-3.tmp > msguniq-3.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test general operation with Java .properties syntax.
tmpfiles="$tmpfiles msguniq-4.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out ${top_srcdir}/tests/msguniq-a.inp
+${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out ../${srcdir}/msguniq-a.inp
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles msguniq-4.ok"
: ${MSGCAT-msgcat}
-${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok ${top_srcdir}/tests/msguniq-a.out
+${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok ../${srcdir}/msguniq-a.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msguniq on a PO file with contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test msguniq on PO file with previous msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles plural-1-cake.tmp plural-1-cake.pot"
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location ${top_srcdir}/tests/plural-1-prg.c
+${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location ../${srcdir}/plural-1-prg.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < plural-1-cake.tmp > plural-1-cake.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles plural-1-cake.ok plural-1-cake.tmp cake.out"
: ${DIFF=diff}
echo 'un morceau de gateau' > plural-1-cake.ok
-LANGUAGE= ./cake fr 1 > plural-1-cake.tmp || exit 1
+LANGUAGE= ../cake fr 1 > plural-1-cake.tmp || exit 1
LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || exit 1
${DIFF} plural-1-cake.ok cake.out || exit 1
echo '2 morceaux de gateau' > plural-1-cake.ok
-LANGUAGE= ./cake fr 2 > plural-1-cake.tmp || exit 1
+LANGUAGE= ../cake fr 2 > plural-1-cake.tmp || exit 1
LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || exit 1
${DIFF} plural-1-cake.ok cake.out || exit 1
echo '10 morceaux de gateau' > plural-1-cake.ok
-LANGUAGE= ./cake fr 10 > plural-1-cake.tmp || exit 1
+LANGUAGE= ../cake fr 10 > plural-1-cake.tmp || exit 1
LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || exit 1
${DIFF} plural-1-cake.ok cake.out || exit 1
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recode-sr-latin on some input in UTF-8 encoding.
# Test whether a specific UTF-8 locale is installed.
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR_UTF8 != none; then
- LC_ALL=$LOCALE_FR_UTF8 ./testlocale 2>/dev/null
+ LC_ALL=$LOCALE_FR_UTF8 ../testlocale 2>/dev/null
case $? in
0) ;;
77) LOCALE_FR_UTF8=none;;
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recode-sr-latin on some input in EUC-JP encoding.
# (Apart from UTF-8 and GB18030, EUC-JP is the only common encoding that is
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# This test often fails during development. It works after "make dist".
rm -f zero-domain.po
: ${XGETTEXT=xgettext}
LC_MESSAGES=C LC_ALL= \
-${XGETTEXT} -k_ -d zero-domain -x $top_srcdir/po/gettext-tools.pot \
- $top_srcdir/src/xgettext.c >xg-test1.err 2>&1
+${XGETTEXT} -k_ -d zero-domain -x ../$top_srcdir/po/gettext-tools.pot \
+ ../$top_srcdir/src/xgettext.c >xg-test1.err 2>&1
result=$?
cat xg-test1.err | grep -v 'warning: Charset' | grep -v '^ '
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Even an empty string is extracted, if not overridden by xgettext's
# default-constructed header entry.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# When a header entry is provided by xgettext, it overrides any msgid ""
# present in the input.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test --foreign-user
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test extraction of non-ASCII msgids.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of position dependent recognition of format strings.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of comment extraction in the case of duplicated msgids.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test -j option with charset conversion from ISO-8859-1 to UTF-8.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of extracted comments specified per keyword, including the case of
# duplicated msgids.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test awk support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test awk support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# This test often fails during development. It works after "make dist".
tmpfiles="$tmpfiles xg-c-1.tmp.po xg-c-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} -d xg-c-1.tmp -k_ --omit-header --no-location \
- $top_srcdir/src/xgettext.c $top_srcdir/src/msgfmt.c
+ ../$top_srcdir/src/xgettext.c ../$top_srcdir/src/msgfmt.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
LC_ALL=C tr -d '\r' < xg-c-1.tmp.po > xg-c-1.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
-${DIFF} $top_srcdir/tests/xg-c-1.ok.po xg-c-1.po
+${DIFF} ../$srcdir/xg-c-1.ok.po xg-c-1.po
result=$?
rm -fr $tmpfiles
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: extraction of contexts.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: extraction of contexts, disambiguating according to the
# argument count.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: valid but unlikely C format strings are _not_ marked as
# c-format by default.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C++ support: test --flag that introduces qt-format.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C++ support: test boost-format.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: extraction of contexts specified in GNOME glib syntax.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C++ support: test kde-format and format recognition heuristics.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: extraction of 'range:' flags.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: comments meant for xgettext, and whitespace.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: recognition of #line.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: --trigraphs option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: comments.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: comments.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test recognition of ISO C 99 <inttypes.h> format string directives.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Some tests for C# support
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# More tests for C# support: UTF-8 encoded source files
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# More tests for C# support: string syntax
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Tests for C# plural keyword support
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C# support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C# support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C# support: extraction of contexts.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test EmacsLisp support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test EmacsLisp support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Glade support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Glade support, in particular ISO-8859-1 to UTF-8 conversion
# and ASCII entities (< > ").
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Glade 2 support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Glade 2 support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Glade 2 support for msgctxt.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of GtkBuilder support.
# Checks that the extracted pot contains the right translatable
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of GtkBuilder support.
# Checks the extraction of a medium size GtkBuilder file, with
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
#
# Some tests for java support
#
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
#
# More tests for java support
#
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
#
# Some tests for java plural keyword support
#
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
#
# Some tests for java plural keyword support
#
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Java support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Java support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Java support: extraction of contexts.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of JavaScript support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of JavaScript support.
# Playing with regex and division operator
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of JavaScript support.
# Playing with concatenation of string literals within the gettext function
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of JavaScript escape sequences in string literals.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of JavaScript Unicode support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test librep support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test librep support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Lisp support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Lisp support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Lua support
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Lua support
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ObjectiveC extractor.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ObjectiveC support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Perl support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Perl support with ISO-8859-1 encoded input.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Perl support with UTF-8 encoded input.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Tests for the general string extraction facilities of the Perl backend
# (with option --extract-all).
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Perl support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test whether the right number of arguments are extracted.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Perl support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# The slash (/) and the question mark (?) serve a double-purpose in Perl.
# Depending on the context they can either be an operator (division
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test PHP support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test PHP support: here documents.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test PHP support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test PHP support: string concatenation.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C, C++, PO extractors.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test C, C++, JavaProperties extractors.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Python support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Python support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Python support: --from-code option and encoding recognition.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Python support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Scheme support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Scheme support: strings outside any function call.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Scheme support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Shell support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Shell support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Shell support: backslashed double-quotes inside single-quotes.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Shell support: obsolete bash $"..." syntax.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Shell support: bash $(...) syntax.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Shell support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Smalltalk support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Smalltalk support: --add-comments option.
#! /bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test extractor of NeXTstep/GNUstep .strings files.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Tcl support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Tcl support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Tcl support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Tcl support: escape sequences.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test of Vala support.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
#
# Plural test for YCP
#
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test YCP support: --add-comments option.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test YCP support: string literal concatenation.
#!/bin/sh
+. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test YCP support: --add-comments option.