aboutsummaryrefslogtreecommitdiff
path: root/test/shell1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell1.test')
-rw-r--r--test/shell1.test13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/shell1.test b/test/shell1.test
index fb42e45cf..5d4243f47 100644
--- a/test/shell1.test
+++ b/test/shell1.test
@@ -496,11 +496,16 @@ do_test shell1-3.14.3 {
# .output FILENAME Send output to FILENAME
do_test shell1-3.15.1 {
- catchcmd "test.db" ".output"
-} {0 {}}
+ catchcmd "test.db" ".output
+.print x"
+} {0 x}
do_test shell1-3.15.2 {
- catchcmd "test.db" ".output FOO"
-} {0 {}}
+ catchcmd "test.db" ".output FOO
+.print x
+.output
+SELECT readfile('FOO');"
+} {0 {x
+}}
do_test shell1-3.15.3 {
# too many arguments
catchcmd "test.db" ".output FOO BAD"