mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix cmake based sqlite3 test when run twice in a row
The second (and subsequent) time(s) would always fail because the test file already exists at that point. Just force an overwrite in this case.
This commit is contained in:
parent
f5c8ae29d6
commit
4f2d34f043
@ -30,7 +30,7 @@ int main()
|
||||
gnc_engine_init(0, no_args);
|
||||
|
||||
QofSession * s = qof_session_new();
|
||||
qof_session_begin(s, "sqlite3:///tmp/blah.gnucash", 0, 1, 0);
|
||||
qof_session_begin(s, "sqlite3:///tmp/blah.gnucash", 0, 1, 1);
|
||||
qof_session_load(s, NULL);
|
||||
qof_session_save(s, NULL);
|
||||
qof_session_end(s);
|
||||
|
Loading…
Reference in New Issue
Block a user