facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
41 lines
868 B
Bash
Executable File
41 lines
868 B
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Verify that msgcat complains when the same msgid occurs with and without
|
|
# msgid_plural.
|
|
|
|
cat <<\EOF > mcat-test21.in1
|
|
msgid ""
|
|
msgstr ""
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
msgid "File"
|
|
msgstr "Soumettre"
|
|
EOF
|
|
|
|
cat <<\EOF > mcat-test21.in2
|
|
msgid ""
|
|
msgstr ""
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
|
|
msgid "File"
|
|
msgid_plural "Files"
|
|
msgstr[0] "fichier"
|
|
msgstr[1] "fichiers"
|
|
EOF
|
|
|
|
rm -f mcat-test21.out1
|
|
: ${MSGCAT=msgcat}
|
|
${MSGCAT} -o mcat-test21.out1 mcat-test21.in1 mcat-test21.in2 2>/dev/null
|
|
test $? = 1 || { Exit 1; }
|
|
|
|
rm -f mcat-test21.out2
|
|
: ${MSGCAT=msgcat}
|
|
${MSGCAT} -o mcat-test21.out2 mcat-test21.in2 mcat-test21.in1 2>/dev/null
|
|
test $? = 1 || { Exit 1; }
|
|
|
|
Exit 0
|