apenwarr-redo/t/deps/dirtest/test.do
Avery Pennarun b9987433c9 Disable the tests that don't work with minimal/do.
...only when running under minimal/do, of course.

The tests in question mostly fail because they're testing particular
dependency-related behaviour, and minimal/do doesn't support dependencies,
so naturally it doesn't work.
2010-12-11 21:06:12 -08:00

16 lines
316 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)"
. ../../skip-if-minimal-do.sh
if [ "$C1" != 1 -o "$C2" != 2 ]; then
echo "failed: t1>t1, c1=$C1, c2=$C2" >&2
exit 55
fi