Lines Matching refs:res
37 set res [catchcmd "-bad test.db" ""]
38 set rc [lindex $res 0]
40 [regexp {Error: unknown option: -bad} $res]
43 set res [catchcmd "test.db -bad" ""]
44 set rc [lindex $res 0]
46 [regexp {Error: unknown option: -bad} $res]
60 set res [catchcmd "-help test.db" ""]
61 set rc [lindex $res 0]
63 [regexp {Usage} $res] \
64 [regexp {\-init} $res] \
65 [regexp {\-version} $res]
103 set res [catchcmd "-interactive test.db" ".quit"]
104 set rc [lindex $res 0]
106 [regexp {SQLite version} $res] \
107 [regexp {Enter ".help" for usage hints} $res]
148 set res [catchcmd "-separator" ""]
149 set rc [lindex $res 0]
151 [regexp {Error: missing argument to -separator} $res]
167 set res [catchcmd "-nullvalue" ""]
168 set rc [lindex $res 0]
170 [regexp {Error: missing argument to -nullvalue} $res]
298 set res [catchcmd "test.db" ".dump"]
299 list [regexp {BEGIN TRANSACTION;} $res] \
300 [regexp {COMMIT;} $res]
303 set res [catchcmd "test.db" ".dump FOO"]
304 list [regexp {BEGIN TRANSACTION;} $res] \
305 [regexp {COMMIT;} $res]
381 set res [catchcmd "test.db" ".help"]
383 list [regexp {.help} $res] \
384 [regexp {.quit} $res] \
385 [regexp {.show} $res]
389 set res [catchcmd "test.db" ".help *"]
391 list [regexp {.help} $res] \
392 [regexp {.quit} $res] \
393 [regexp {.show} $res]
617 set res [catchcmd "test.db" ".show"]
618 list [regexp {echo:} $res] \
619 [regexp {explain:} $res] \
620 [regexp {headers:} $res] \
621 [regexp {mode:} $res] \
622 [regexp {nullvalue:} $res] \
623 [regexp {output:} $res] \
624 [regexp {colseparator:} $res] \
625 [regexp {rowseparator:} $res] \
626 [regexp {stats:} $res] \
627 [regexp {width:} $res]
1074 set res [lindex $x 1]
1076 error "failed with error: $res"
1078 if {$res ne "$oldChar\n"} {
1079 if {[llength $res] > 0} {
1080 set got [format %02X [scan $res %c]]
1101 set res [string trim [lindex $x 1]]
1103 error "failed with error: $res"
1105 if {$res ne "CREATE TABLE t1(x);"} {
1106 error "failed with mismatch: $res"
1119 set res [string trim [lindex $x 1]]
1121 error "failed with error: $res"
1123 if {$res ne "CREATE TABLE ${test}(x);"} {
1124 error "failed with mismatch: $res"