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.
42 lines
1.1 KiB
Bash
Executable File
42 lines
1.1 KiB
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Check for duplicates with different translations
|
|
|
|
cat <<EOF > mf-test8.in1
|
|
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) YEAR Free Software Foundation, Inc.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: msgfmt test 8\n"
|
|
"PO-Revision-Date: 1996-04-05 19:47+0200\n"
|
|
"Last-Translator: ABC DEF <abc@gnu.uucp>\n"
|
|
"Language-Team: test <test@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
#
|
|
msgid "2" msgstr "2"
|
|
msgid "3" msgstr "3"
|
|
msgid "3" msgstr "three ha ha"
|
|
EOF
|
|
|
|
: ${MSGFMT=msgfmt}
|
|
LC_MESSAGES=C LC_ALL= \
|
|
${MSGFMT} --verbose --check mf-test8.in1 -o /dev/null \
|
|
2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgfmt\.exe|msgfmt|' -e 's|^msgfmt\.exe|msgfmt|' -e 's|^/cygdrive/[^ ]*/msgfmt|msgfmt|' | LC_ALL=C tr -d '\r' > mf-test8.err
|
|
|
|
cat << EOF > mf-test8.ok
|
|
mf-test8.in1:17: duplicate message definition...
|
|
mf-test8.in1:16: ...this is the location of the first definition
|
|
msgfmt: found 1 fatal error
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} mf-test8.ok mf-test8.err
|
|
result=$?
|
|
|
|
exit $result
|