Files
RedBear-OS/recipes/tools/gettext/source/gettext-tools/tests/msgfmt-13
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

37 lines
1.0 KiB
Bash
Executable File

#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test that an out-of-range Unicode character doesn't lead to a crash.
cat <<\EOF >mf-test13.po
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: minicom 2.1\n"
"POT-Creation-Date: 2003-05-16 22:33+0200\n"
"PO-Revision-Date: 2003-09-11 14:10+0200\n"
"Last-Translator: Jochen Hein <jochen@jochen.org>\n"
"Language-Team: german <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/file.c:60
msgid " [Goto] [Prev] [Show] [Tag] [Untag] [Okay] "
msgstr " [Gehe zu] [Zurück] [Anzeigen] [Markieren] [Markierung len] [Okay] "
EOF
: ${MSGFMT=msgfmt}
${MSGFMT} mf-test13.po -o mf-test13.mo 2>/dev/null
# Exit code must be 1.
# If the invalid sequence didn't get noticed, it would be 0.
# If it produced a core dump, it would be 134 (= 128 + SIGABRT).
test $? = 1
result=$?
exit $result