Files
RedBear-OS/recipes/tools/gettext/source/gettext-tools/tests/msgcat-12
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
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.
2026-05-14 10:55:53 +01:00

50 lines
886 B
Bash
Executable File

#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Verify that msgcat complains when it would need to change msgids.
cat <<\EOF > mcat-test12.in1
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Denote a lock's state
msgid "Open"
msgstr "Ouverte"
#. Denote a lock's state
msgid "Closed"
msgstr "Fermée"
EOF
cat <<\EOF > mcat-test12.in2
msgid ""
msgstr ""
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
#. Denote a lock's state
msgid "Open"
msgstr "Ouvert"
#. Denote a lock's state
msgid "Closed"
msgstr "Fermé"
#. A product
msgid "Audi car"
msgstr "voiture Audi"
#. A product
msgid "Océ copier"
msgstr "photocopieur Océ"
EOF
rm -f mcat-test12.out
: ${MSGCAT=msgcat}
${MSGCAT} -o mcat-test12.out mcat-test12.in1 mcat-test12.in2 2>/dev/null
test $? = 1 || { Exit 1; }
Exit 0