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
|
|
@ -10,11 +10,11 @@ for d in 1 2; do
|
|||
[ "$(wc -l <ifcreate$d.log)" -eq 1 ] || exit ${d}1
|
||||
redo-ifchange ifcreate$d
|
||||
[ "$(wc -l <ifcreate$d.log)" -eq 1 ] || exit ${d}2
|
||||
./flush-cache.sh
|
||||
./flush-cache.py
|
||||
touch ifcreate$d.dep
|
||||
redo-ifchange ifcreate$d
|
||||
[ "$(wc -l <ifcreate$d.log)" -eq 2 ] || exit ${d}3
|
||||
./flush-cache.sh
|
||||
./flush-cache.py
|
||||
rm ifcreate$d.dep
|
||||
redo-ifchange ifcreate$d
|
||||
[ "$(wc -l <ifcreate$d.log)" -eq 3 ] || exit ${d}4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue