Fix tests when the sqlite3 command line utility isn't installed.
We know the user already has to have python, so use its bindings.
This commit is contained in:
parent
e8790145be
commit
d039aad57b
12 changed files with 50 additions and 41 deletions
|
|
@ -5,21 +5,21 @@ redo t/always1
|
|||
cd t
|
||||
[ "$(wc -l <always1.log)" -eq 1 ] || exit 11
|
||||
|
||||
# This shouldn't rebuild, but because other people might be running flush-cache.sh
|
||||
# This shouldn't rebuild, but because other people might be running flush-cache.py
|
||||
# in parallel with us, we can't be 100% sure it won't. So don't test it.
|
||||
#redo-ifchange always1
|
||||
#[ "$(wc -l <always1.log)" -eq 1 ] || exit 21
|
||||
|
||||
./flush-cache.sh
|
||||
./flush-cache.py
|
||||
redo-ifchange always1
|
||||
. ./skip-if-minimal-do.sh
|
||||
[ "$(wc -l <always1.log)" -eq 2 ] || exit 31
|
||||
|
||||
./flush-cache.sh
|
||||
./flush-cache.py
|
||||
redo-ifchange always1
|
||||
[ "$(wc -l <always1.log)" -eq 3 ] || exit 41
|
||||
|
||||
cd ..
|
||||
./t/flush-cache.sh
|
||||
./t/flush-cache.py
|
||||
redo-ifchange t/always1
|
||||
[ "$(wc -l <t/always1.log)" -eq 4 ] || exit 51
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue