mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 00:54:19 +01:00
Fix tests to use updated extension name
This commit is contained in:
@@ -337,7 +337,7 @@ def test_series():
|
|||||||
|
|
||||||
|
|
||||||
def test_kv():
|
def test_kv():
|
||||||
ext_path = "target/debug/liblimbo_testextension"
|
ext_path = "target/debug/liblimbo_ext_tests"
|
||||||
limbo = TestLimboShell()
|
limbo = TestLimboShell()
|
||||||
limbo.run_test_fn(
|
limbo.run_test_fn(
|
||||||
"create virtual table t using kv_store;",
|
"create virtual table t using kv_store;",
|
||||||
@@ -472,7 +472,7 @@ def test_ipaddr():
|
|||||||
|
|
||||||
def test_vfs():
|
def test_vfs():
|
||||||
limbo = TestLimboShell()
|
limbo = TestLimboShell()
|
||||||
ext_path = "target/debug/liblimbo_testextension"
|
ext_path = "target/debug/liblimbo_ext_tests"
|
||||||
limbo.run_test_fn(".vfslist", lambda x: "testvfs" not in x, "testvfs not loaded")
|
limbo.run_test_fn(".vfslist", lambda x: "testvfs" not in x, "testvfs not loaded")
|
||||||
limbo.execute_dot(f".load {ext_path}")
|
limbo.execute_dot(f".load {ext_path}")
|
||||||
limbo.run_test_fn(
|
limbo.run_test_fn(
|
||||||
@@ -496,7 +496,7 @@ def test_vfs():
|
|||||||
)
|
)
|
||||||
print("Tested large write to testfs")
|
print("Tested large write to testfs")
|
||||||
# open regular db file to ensure we don't segfault when vfs file is dropped
|
# open regular db file to ensure we don't segfault when vfs file is dropped
|
||||||
limbo.execute_dot(".open testing/vfs2.db")
|
limbo.execute_dot(".open testing/vfs.db")
|
||||||
limbo.execute_dot("create table test (id integer primary key, value float);")
|
limbo.execute_dot("create table test (id integer primary key, value float);")
|
||||||
limbo.execute_dot("insert into test (value) values (1.0);")
|
limbo.execute_dot("insert into test (value) values (1.0);")
|
||||||
limbo.quit()
|
limbo.quit()
|
||||||
|
|||||||
Reference in New Issue
Block a user