summaryrefslogtreecommitdiffstats
path: root/test/test_sql_fs_func.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:48:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 04:48:35 +0000
commit207df6fc406e81bfeebdff7f404bd242ff3f099f (patch)
treea1a796b056909dd0a04ffec163db9363a8757808 /test/test_sql_fs_func.sh
parentReleasing progress-linux version 0.11.2-1~progress7.99u1. (diff)
downloadlnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.tar.xz
lnav-207df6fc406e81bfeebdff7f404bd242ff3f099f.zip
Merging upstream version 0.12.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/test_sql_fs_func.sh')
-rw-r--r--test/test_sql_fs_func.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_sql_fs_func.sh b/test/test_sql_fs_func.sh
index e3da92b..7955c57 100644
--- a/test/test_sql_fs_func.sh
+++ b/test/test_sql_fs_func.sh
@@ -51,3 +51,9 @@ run_cap_test ./drive_sql "select joinpath('foo')"
run_cap_test ./drive_sql "select joinpath('foo', 'bar', 'baz')"
run_cap_test ./drive_sql "select joinpath('foo', 'bar', 'baz', '/root')"
+
+run_cap_test ${lnav_test} -Nn -c ";SELECT shell_exec('echo hi')"
+
+run_cap_test ${lnav_test} -Nn -c ";SELECT * FROM fstat('/non-existent')"
+
+run_cap_test ${lnav_test} -Nn -c ";SELECT * FROM fstat('/*.non-existent')"