flush-cache: run it as a separate program, not using 'source'

That way it doesn't clutter up 'redo -x' as much.
This commit is contained in:
Avery Pennarun 2010-12-08 20:16:26 -08:00
commit 8dad223225
8 changed files with 15 additions and 13 deletions

View file

@ -1,10 +1,10 @@
rm -f *.out *.log
. ../../flush-cache.sh
../../flush-cache.sh
redo-ifchange 1.out 2.out
[ "$(cat 1.log | wc -l)" = 1 ] || exit 55
[ "$(cat 2.log | wc -l)" = 1 ] || exit 56
. ../../flush-cache.sh
../../flush-cache.sh
touch 1.in
redo-ifchange 1.out 2.out
[ "$(cat 1.log | wc -l)" = 2 ] || exit 57