blob: cc7b5bf07e1aac2b92899c28000669c27b3799e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test Scheme support: strings outside any function call.
cat <<EOF > xg-sc-2.scm
(define foo '("bar" "quux"))
EOF
: ${XGETTEXT=xgettext}
${XGETTEXT} -k_ --omit-header --no-location --force-po -d xg-sc-2 xg-sc-2.scm || exit 1
cat <<EOF > xg-sc-2.ok
EOF
: ${DIFF=diff}
${DIFF} xg-sc-2.ok xg-sc-2.po
result=$?
exit $result
|