diff --git a/testing/cmdlineshell.test b/testing/cmdlineshell.test index 1112e0aaa..73c6377ec 100755 --- a/testing/cmdlineshell.test +++ b/testing/cmdlineshell.test @@ -100,7 +100,3 @@ do_execsql_test_on_specific_db testing/testing.db schema-2 { # do_execsql_test_on_specific_db testing/testing.db schema-1 { # .tables # } {"products users"} - -do_execsql_test_on_specific_db testing/testing.db schema-1 { - .tables us% -} {"users"} diff --git a/testing/shelltests.py b/testing/shelltests.py index f36972e25..6b1dab121 100755 --- a/testing/shelltests.py +++ b/testing/shelltests.py @@ -182,6 +182,11 @@ Null value: LIMBO CWD: {cwd}/testing Echo: off""", ) + +do_execshell_test(pipe, "test-show-tables", ".tables", "products users") + +do_execshell_test(pipe, "test-show-tables-with-pattern", ".tables us%", "users") + # test we can set the null value write_to_pipe(".open :memory:")