2022-07-23 05:21:16 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
export YES_COLOR=1
|
|
|
|
unset XDG_CONFIG_HOME
|
|
|
|
|
|
|
|
run_cap_test ${lnav_test} -n \
|
|
|
|
${top_srcdir}/README.md
|
|
|
|
|
2022-08-29 01:55:32 +00:00
|
|
|
run_cap_test ${lnav_test} -n -c ':goto #screenshot' \
|
|
|
|
${top_srcdir}/README.md
|
|
|
|
|
|
|
|
run_cap_test ${lnav_test} -n ${top_srcdir}/README.md#screenshot
|
|
|
|
|
2022-08-29 06:07:55 +00:00
|
|
|
# run_cap_test ${lnav_test} -n ${test_dir}/non-existent:4
|
2022-08-29 01:55:32 +00:00
|
|
|
|
|
|
|
run_cap_test ${lnav_test} -n ${top_srcdir}/README.md:-4
|
|
|
|
|
2022-07-25 14:49:51 +00:00
|
|
|
run_cap_test ${lnav_test} -n \
|
|
|
|
-c ':goto 115' \
|
|
|
|
-c ";SELECT top_meta FROM lnav_views WHERE name = 'text'" \
|
|
|
|
-c ':write-json-to -' \
|
|
|
|
${top_srcdir}/README.md
|
|
|
|
|
2022-07-23 05:21:16 +00:00
|
|
|
run_cap_test ${lnav_test} -n \
|
|
|
|
${top_srcdir}/src/log_level.cc
|
2022-07-28 04:49:14 +00:00
|
|
|
|
|
|
|
cp ${test_dir}/UTF-8-test.txt UTF-8-test.md
|
|
|
|
run_cap_test ${lnav_test} -n \
|
|
|
|
UTF-8-test.md
|