2025-09-30 15:08:36 -07:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
|
|
export TZ=UTC
|
|
|
|
|
export YES_COLOR=1
|
|
|
|
|
unset XDG_CONFIG_HOME
|
|
|
|
|
|
2025-11-05 11:12:18 -08:00
|
|
|
run_cap_test ${lnav_test} -nN \
|
|
|
|
|
-c ":add-source-path"
|
|
|
|
|
|
|
|
|
|
run_cap_test ${lnav_test} -nN \
|
|
|
|
|
-c ":add-source-path non-existent"
|
|
|
|
|
|
|
|
|
|
run_cap_test ${lnav_test} -nN \
|
|
|
|
|
-c ":add-source-path ~root"
|
|
|
|
|
|
2025-09-30 15:08:36 -07:00
|
|
|
run_cap_test ${lnav_test} -n \
|
|
|
|
|
-c ":add-source-path ${test_dir}/log2src/python" \
|
|
|
|
|
-c ";SELECT log_line, log_msg_src, log_msg_format, log_msg_values FROM all_logs" \
|
|
|
|
|
-c ":write-jsonlines-to -" \
|
|
|
|
|
${test_dir}/log2src/python/python-example.0
|
2025-10-04 13:36:36 -07:00
|
|
|
|
|
|
|
|
run_cap_test ${lnav_test} -nN \
|
|
|
|
|
-c ":add-source-path ${test_dir}/log2src/python" \
|
|
|
|
|
-c ";SELECT * FROM source_log_stmt('log_example.py')" \
|
|
|
|
|
-c ":write-jsonlines-to -"
|