#! /bin/sh . "${srcdir=.}/init.sh"; path_prepend_ . ../src # Test JavaScript support: stack overflow prevented by nesting depth check. cat < xg-js-so-8.js _("Hello!") EOF : ${XGETTEXT=xgettext} ${XGETTEXT} --omit-header --no-location -d xg-js-so-8.tmp xg-js-so-8.js 2>xg-js-so-8.err result=$? cat xg-js-so-8.err test $result = 1 || Exit 1 exit 0