summaryrefslogtreecommitdiff
path: root/tests/po.tst
blob: f0692cb08873788136f7845525062266a3b3945d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

: ${SRCDIR=.}

# Set up other vars
. $SRCDIR/defs || exit 1

for file in `(cd $top_srcdir && fgrep -l '_(' lib/*.c src/*.c)`
do
  if fgrep "$file" $top_srcdir/po/POTFILES.in >/dev/null 2>&1; then :; else
    echo "Did not see $file in POTFILES.in."
    failure=1
  fi
done

exit $failure