fix a bug in tests (#1458)
* is_db_sqlite is not accessible Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
This commit is contained in:
parent
e6a35e8714
commit
d9f111c4ca
|
@ -53,7 +53,8 @@ make_init_data() {
|
|||
|
||||
# when installed pacakges are always using sqlite, so no need to regenerate
|
||||
# local credz for sqlite
|
||||
is_db_sqlite || ${CSCLI} machines add --auto
|
||||
|
||||
[ "${DB_BACKEND}" == "sqlite" ] || ${CSCLI} machines add --auto
|
||||
|
||||
"${TEST_DIR}/instance-crowdsec" start
|
||||
"${CSCLI}" lapi status
|
||||
|
|
Loading…
Reference in a new issue