2 # One argument is required which is the path to the toplevel directory
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 # Create binary test file in correct position.
9 tmpfiles
="$tmpfiles LC_MESSAGES"
10 test -d LC_MESSAGES || mkdir LC_MESSAGES
11 cp $top_srcdir/tests
/test.mo LC_MESSAGES
13 tmpfiles
="$tmpfiles gt-test1.out"
15 TEXTDOMAINDIR
=.. LANGUAGE
=tests \
16 ${GETTEXT} --env LC_ALL
=en
-e test 'SYS_(C)\n' > gt-test1.out
18 # Create correct file.
19 tmpfile
="$tmpfiles gtmf-test1.ok"
20 cat <<EOF > gtmf-test1.ok
21 MSGFMT(1) portable message object file compiler
22 Copyright (C) 1995 Free Software Foundation
23 Report bugs to <bug-gnu-utils@gnu.org>
27 ${DIFF} gtmf-test1.ok gt-test1.out