lnav/test/test_demux.sh
2024-05-07 21:49:08 -07:00

25 lines
751 B
Bash

#! /bin/bash
export YES_COLOR=1
export TZ=UTC
cat ${test_dir}/logfile_docker_compose.0 | run_cap_test env TEST_COMMENT="docker-demux-no-ts" \
${lnav_test} -n
cat ${test_dir}/logfile_docker_compose_with_ts.0 | run_cap_test env TEST_COMMENT="docker-demux-with-ts" \
${lnav_test} -n
run_cap_test ${lnav_test} -n ${test_dir}/logfile_docker_compose_with_ts.0
run_cap_test ${lnav_test} -n ${test_dir}/logfile_mux_zookeeper.0
run_cap_test ${lnav_test} -n \
-c ';SELECT * FROM lnav_file_demux_metadata' \
${test_dir}/logfile_mux_zookeeper.0
run_cap_test ${lnav_test} -n ${test_dir}/logfile_docker_compose_with_noise.0
run_cap_test ${lnav_test} -n \
-c ':switch-to-view text' \
${test_dir}/logfile_docker_compose_with_noise.0