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

19 lines
585 B
Bash
Executable File

#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test invalid or incomplete input
: ${MSGUNFMT=msgunfmt}
for f in overflow-1.mo overflow-2.mo overflow-3.mo overflow-4.mo overflow-5.mo overflow-6.mo overflow-7.mo; do
LANGUAGE= LC_ALL=C ${MSGUNFMT} "$wabs_srcdir"/$f 2>mu-3.err >/dev/null
test $? != 0 || Exit 1
grep ' is truncated' mu-3.err >/dev/null || Exit 1
done
for f in sysdep-without-nul.mo; do
LANGUAGE= LC_ALL=C ${MSGUNFMT} "$wabs_srcdir"/$f 2>mu-3.err >/dev/null
test $? != 0 || Exit 1
grep ' not NUL terminated' mu-3.err >/dev/null || Exit 1
done