apenwarr-redo/t/deps/dirtest/test.do
Avery Pennarun 94c254de77 Rename flush-cache.py to flush-cache, and rearrange the code a bit.
It was working fine, but the style wasn't exactly the way I like it, because
I'm unnecessarily picky. :)

Also, removed the file extension since we should probably learn from the
fact that it's already been rewritten once from one language to another.
Who knows, maybe it will be again someday.
2011-02-23 01:27:41 -08:00

16 lines
309 B
Text

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