1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test a succeeding comparison. 5 6cat <<EOF > mc-test1.in1 7msgid "one" msgstr "first" 8msgid "two" msgstr "second" 9msgid "three" msgstr "third" 10EOF 11 12cat <<EOF > mc-test1.in2 13msgid "three" msgstr "" 14msgid "one" msgstr "" 15msgid "two" msgstr "" 16EOF 17 18: ${MSGCMP=msgcmp} 19${MSGCMP} mc-test1.in1 mc-test1.in2 > /dev/null 2>&1 20result=$? 21 22exit $result 23