From 62e4c68907d8d33709c2c1f92a161dff00b3d5f2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:01:36 +0200 Subject: Adding upstream version 0.11.2. Signed-off-by: Daniel Baumann --- test/test_format_loader.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/test_format_loader.sh (limited to 'test/test_format_loader.sh') 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 -- cgit v1.2.3