apenwarr-redo/t/deps/dirtest/test.do
Avery Pennarun 8dad223225 flush-cache: run it as a separate program, not using 'source'
That way it doesn't clutter up 'redo -x' as much.
2010-12-10 00:50:52 -08:00

15 lines
286 B
Text

rm -f log dir1/log dir1/stinky
touch t1.do
../../flush-cache.sh
redo t1
touch t1.do
../../flush-cache.sh
redo t1
../../flush-cache.sh
redo-ifchange t1
C1="$(wc -l <dir1/log)"
C2="$(wc -l <log)"
if [ "$C1" != 1 -o "$C2" != 2 ]; then
echo "failed: t1>t1, c1=$C1, c2=$C2" >&2
exit 55
fi