lnav/test/test_gantt.sh

44 lines
1.1 KiB
Bash
Raw Normal View History

2023-08-05 14:20:17 +00:00
#! /bin/bash
export YES_COLOR=1
2023-08-05 16:33:25 +00:00
export TZ=UTC
2023-08-05 14:20:17 +00:00
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
2023-08-06 14:19:48 +00:00
${test_dir}/logfile_generic.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
${test_dir}/logfile_bro_http.log.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
-c ':filter-in CdysLK1XpcrXOpVDuh' \
${test_dir}/logfile_bro_http.log.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
-c ':filter-out CdysLK1XpcrXOpVDuh' \
2023-08-05 14:20:17 +00:00
${test_dir}/logfile_bro_http.log.0
2023-08-07 06:26:27 +00:00
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
-c ':hide-file *' \
${test_dir}/logfile_bro_http.log.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
-c ':close *' \
${test_dir}/logfile_bro_http.log.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
-c ':hide-lines-before 2011-11-03 00:19:37' \
${test_dir}/logfile_bro_http.log.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view gantt' \
-c ':hide-lines-after 2011-11-03 00:20:30' \
${test_dir}/logfile_bro_http.log.0