mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
cdd43549ab
Add another example script, dhclient-summary. Add a 'search-table' section to formats so you can automatically define a search-based table.
19 lines
333 B
Bash
19 lines
333 B
Bash
#! /bin/bash
|
|
|
|
lnav_test="${top_builddir}/src/lnav-test"
|
|
|
|
touch scripts-empty
|
|
|
|
run_test ${lnav_test} -n -d /tmp/lnav.err \
|
|
-I ${test_dir} \
|
|
-f 'multiline-echo' \
|
|
scripts-empty
|
|
|
|
check_error_output "multiline-echo has errors?" <<EOF
|
|
EOF
|
|
|
|
check_output "multiline-echo is not working?" <<EOF
|
|
Hello, World!
|
|
Goodbye, World!
|
|
EOF
|