1#! /bin/sh 2. "${srcdir=.}/init.sh"; path_prepend_ . ../src 3 4# Test --use-first option with Java .properties syntax. 5 6cat <<\EOF > mcat-p-1.in1 7#. Help text (HTML-like) START 8#: clients/inst_ask_config.ycp:119 9Congratulations\!=Gl\u00fcckwunsch\! 10EOF 11 12cat <<\EOF > mcat-p-1.in2 13#. Help text (HTML-like) START 14#: clients/inst_ask_config.ycp:119 15Congratulations\!=Herzlichen Gl\u00fcckwunsch\! 16EOF 17 18rm -f mcat-p-1.tmp 19 20: ${MSGCAT=msgcat} 21${MSGCAT} --use-first --more-than=0 --properties-input --properties-output \ 22 -o mcat-p-1.tmp mcat-p-1.in1 mcat-p-1.in2 || Exit 1 23LC_ALL=C tr -d '\r' < mcat-p-1.tmp > mcat-p-1.out || Exit 1 24 25cat << \EOF > mcat-p-1.ok 26#. Help text (HTML-like) START 27#: clients/inst_ask_config.ycp:119 28Congratulations\!=Gl\u00fcckwunsch\! 29EOF 30 31: ${DIFF=diff} 32${DIFF} mcat-p-1.ok mcat-p-1.out 33result=$? 34 35exit $result 36