dbsql/test/scr006/chk.offt
2009-08-31 20:28:38 -04:00

23 lines
325 B
Bash

#!/bin/sh -
#
# Make sure that no off_t's have snuck into the release.
d=../..
[ -f $d/LICENSE ] || {
echo 'FAIL: cannot find source distribution directory.'
exit 1
}
t=__1
egrep -w off_t $d/*/*.[ch] $d/*/*.in |
sed -e "/_/d" > $t
test -s $t && {
cat $t
echo "FAIL: found questionable off_t usage"
exit 1
}
exit 0