apenwarr-redo/t/deps/test1.do
Joseph Garvin d039aad57b Fix tests when the sqlite3 command line utility isn't installed.
We know the user already has to have python, so use its bindings.
2011-02-23 01:22:04 -08:00

15 lines
280 B
Text

# force-rebuild t1dep
redo t1dep
if [ -e t1a ]; then
BEFORE="$(cat t1a)"
else
BEFORE=
fi
../flush-cache.py
redo-ifchange t1a # it definitely had to rebuild because t1dep changed
AFTER="$(cat t1a)"
if [ "$BEFORE" = "$AFTER" ]; then
echo "t1a was not rebuilt!" >&2
exit 43
fi