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.
54 lines
1.3 KiB
Bash
Executable File
54 lines
1.3 KiB
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test pseudo-comments containing filenames that start with a digit.
|
|
|
|
cat <<\EOF > mm-test15.pot
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: GNU gettext 0.11.5\n"
|
|
"POT-Creation-Date: 2002-08-20 15:24+0200\n"
|
|
"PO-Revision-Date: 2002-12-02 07:05+0100\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
|
#: 123.c:134
|
|
#, c-format
|
|
msgid "invalid argument `%s' for `%s'"
|
|
msgstr "ungültiges Argument »%s« für »%s«"
|
|
EOF
|
|
|
|
cat <<\EOF > mm-test15.po
|
|
#: 123.c:134
|
|
#, c-format
|
|
msgid "invalid argument `%s' for `%s'"
|
|
msgstr ""
|
|
EOF
|
|
|
|
: ${MSGMERGE=msgmerge}
|
|
${MSGMERGE} -q -o mm-test15.tmp mm-test15.pot mm-test15.po || Exit 1
|
|
LC_ALL=C tr -d '\r' < mm-test15.tmp > mm-test15.out || Exit 1
|
|
|
|
cat <<\EOF > mm-test15.ok
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: GNU gettext 0.11.5\n"
|
|
"POT-Creation-Date: 2002-08-20 15:24+0200\n"
|
|
"PO-Revision-Date: 2002-12-02 07:05+0100\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
|
#: 123.c:134
|
|
#, c-format
|
|
msgid "invalid argument `%s' for `%s'"
|
|
msgstr "ungültiges Argument »%s« für »%s«"
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} mm-test15.ok mm-test15.out
|
|
result=$?
|
|
|
|
exit $result
|