diff options
Diffstat (limited to 'test/test_format_loader.sh')
-rw-r--r-- | test/test_format_loader.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/test_format_loader.sh b/test/test_format_loader.sh new file mode 100644 index 0000000..e5bb422 --- /dev/null +++ b/test/test_format_loader.sh @@ -0,0 +1,17 @@ +#! /bin/bash + +export YES_COLOR=1 + +run_cap_test ${lnav_test} -W -C \ + -I ${test_dir}/bad-config-json + +if test x"$HAVE_SQLITE3_ERROR_OFFSET" != x""; then + run_cap_test env LC_ALL=C ${lnav_test} -W -C \ + -I ${test_dir}/bad-config +fi + +run_cap_test ${lnav_test} -n \ + -I ${test_dir} \ + -c ";select * from leveltest_log" \ + -c ':write-csv-to -' \ + ${test_dir}/logfile_leveltest.0 |