opnsense-ports/databases/sqlite3/files/patch-test_e__uri.test
Franco Fichtner 0d52eb825f databases/sqlite3: sync with upstream
Taken from: FreeBSD
2022-11-30 11:39:08 +01:00

13 lines
673 B
Text

--- test/e_uri.test.orig 2022-11-27 09:06:46 UTC
+++ test/e_uri.test
@@ -139,8 +139,8 @@ if {$tcl_platform(platform) == "unix"} {
foreach {tn uri error} "
1 {file://localhost[test_pwd /]test.db} {not an error}
2 {file://[test_pwd /]test.db} {not an error}
- 3 {file://x[test_pwd /]test.db} {invalid uri authority: x}
- 4 {file://invalid[test_pwd /]test.db} {invalid uri authority: invalid}
+ 3 {file://x[test_pwd /]test.db} {unable to open database file}
+ 4 {file://invalid[test_pwd /]test.db} {unable to open database file}
" {
do_test 2.$tn {
set DB [sqlite3_open_v2 $uri $flags ""]