2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test of an external command with Java .properties syntax.
6 cat <<\EOF > mex-test3.properties
9 !=Project-Id-Version\: Bonnie Tyler\n
13 !The\ world\ is\ full\ of\ married\ men=So viele verheiratete M\u00e4nner
16 with\ wives\ who\ never\ understand=und ihre Frauen verstehen sie nicht
19 !They're\ looking\ for\ someone\ to\ share=
21 # schwer zu \u00fcbersetzen...
23 !the\ excitement\ of\ a\ love\ affair=
26 !Just\ as\ soon\ as\ they\ find\ you=
29 !They\ warn\ you\ and\ darn\ you=
32 cat <<\EOF > mex-test3.sh
34 echo "========================= $MSGEXEC_LOCATION =========================" | LC_ALL=C tr -d '\r'
40 echo | LC_ALL=C tr -d '\r'
43 chmod a+x mex-test3.sh
46 ${MSGEXEC} --properties-input -i mex-test3.properties ./mex-test3.sh > mex-test3.out || exit 1
48 cat <<\EOF > mex-test3.ok
49 ========================= mex-test3.properties:3 =========================
52 Project-Id-Version: Bonnie Tyler
54 ========================= mex-test3.properties:7 =========================
55 The world is full of married men
57 So viele verheiratete Männer
58 ========================= mex-test3.properties:10 =========================
59 with wives who never understand
61 und ihre Frauen verstehen sie nicht
62 ========================= mex-test3.properties:13 =========================
63 They're looking for someone to share
66 ========================= mex-test3.properties:17 =========================
67 the excitement of a love affair
70 ========================= mex-test3.properties:20 =========================
71 Just as soon as they find you
74 ========================= mex-test3.properties:23 =========================
75 They warn you and darn you
81 ${DIFF} mex-test3.ok mex-test3.out