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.
27 lines
669 B
Bash
Executable File
27 lines
669 B
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test the gettext program with -e option.
|
|
|
|
# Create binary test file in correct position.
|
|
test -d gt-1 || mkdir gt-1
|
|
test -d gt-1/LC_MESSAGES || mkdir gt-1/LC_MESSAGES
|
|
cp "$abs_srcdir"/test.mo gt-1/LC_MESSAGES
|
|
|
|
: ${GETTEXT=gettext}
|
|
TEXTDOMAINDIR=. LANGUAGE=gt-1 \
|
|
${GETTEXT} --env LC_ALL=en -e test 'SYS_(C)\n' | LC_ALL=C tr -d '\r' > gt-test1.out
|
|
|
|
# Create correct file.
|
|
cat <<EOF > gtmf-test1.ok
|
|
MSGFMT(1) portable message object file compiler
|
|
Copyright (C) 1995 Free Software Foundation
|
|
Report bugs to <bug-gnu-utils@gnu.org>
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} gtmf-test1.ok gt-test1.out
|
|
result=$?
|
|
|
|
exit $result
|