2010-12-11 07:02:45 -08:00
|
|
|
rm -f always1 always1.log
|
|
|
|
|
|
2010-12-11 23:00:53 -08:00
|
|
|
cd ..
|
|
|
|
|
redo t/always1
|
|
|
|
|
cd t
|
2010-12-11 07:02:45 -08:00
|
|
|
[ "$(wc -l <always1.log)" -eq 1 ] || exit 11
|
|
|
|
|
|
2011-02-23 01:24:48 -08:00
|
|
|
# This shouldn't rebuild, but because other people might be running
|
|
|
|
|
# flush-cache in parallel with us, we can't be 100% sure it won't. So don't
|
|
|
|
|
# test it.
|
2010-12-11 07:02:45 -08:00
|
|
|
#redo-ifchange always1
|
|
|
|
|
#[ "$(wc -l <always1.log)" -eq 1 ] || exit 21
|
|
|
|
|
|
2011-02-23 01:24:48 -08:00
|
|
|
./flush-cache
|
2010-12-11 07:02:45 -08:00
|
|
|
redo-ifchange always1
|
2010-12-11 20:54:46 -08:00
|
|
|
. ./skip-if-minimal-do.sh
|
2010-12-11 07:02:45 -08:00
|
|
|
[ "$(wc -l <always1.log)" -eq 2 ] || exit 31
|
2010-12-11 23:00:53 -08:00
|
|
|
|
2011-02-23 01:24:48 -08:00
|
|
|
./flush-cache
|
2010-12-11 23:00:53 -08:00
|
|
|
redo-ifchange always1
|
|
|
|
|
[ "$(wc -l <always1.log)" -eq 3 ] || exit 41
|
|
|
|
|
|
|
|
|
|
cd ..
|
2011-02-23 01:24:48 -08:00
|
|
|
./t/flush-cache
|
2010-12-11 23:00:53 -08:00
|
|
|
redo-ifchange t/always1
|
|
|
|
|
[ "$(wc -l <t/always1.log)" -eq 4 ] || exit 51
|