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
607 B
Bash
Executable File
27 lines
607 B
Bash
Executable File
#! /bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test JavaScript support: CDATA section.
|
|
|
|
cat <<\EOF > xg-js-10a.js
|
|
<![CDATA[]]>
|
|
EOF
|
|
|
|
cat <<\EOF > xg-js-10b.js
|
|
<![CDATA[A CDATA section can contain all sort of unescaped characters: >, <, /, etc.]]>
|
|
EOF
|
|
|
|
: ${XGETTEXT=xgettext}
|
|
LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location -d xg-js-10.tmp xg-js-10a.js 2>xg-js-10.err
|
|
result=$?
|
|
cat xg-js-10.err
|
|
test $result = 0 || Exit 1
|
|
|
|
: ${XGETTEXT=xgettext}
|
|
LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location -d xg-js-10.tmp xg-js-10b.js 2>xg-js-10.err
|
|
result=$?
|
|
cat xg-js-10.err
|
|
test $result = 0 || Exit 1
|
|
|
|
exit 0
|