2015-08-20 04:02:26 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
2015-08-20 04:15:34 +00:00
|
|
|
export TZ="UTC"
|
2015-08-20 04:02:26 +00:00
|
|
|
run_test ${lnav_test} -t -n <<EOF
|
|
|
|
Hello, World!
|
|
|
|
Goodbye, World!
|
|
|
|
EOF
|
|
|
|
|
2019-07-30 05:18:32 +00:00
|
|
|
check_output "stdin timestamping not working?" <<EOF
|
2015-08-20 04:15:34 +00:00
|
|
|
2013-06-06T19:13:20.123 Hello, World!
|
|
|
|
2013-06-06T19:13:20.123 Goodbye, World!
|
|
|
|
2013-06-06T19:13:20.123 ---- END-OF-STDIN ----
|
2015-08-20 04:02:26 +00:00
|
|
|
EOF
|
2021-07-04 04:57:50 +00:00
|
|
|
|
|
|
|
mkdir -p nested/sub1/sub2
|
|
|
|
echo "2021-07-03T21:49:29 Test" > nested/sub1/sub2/test.log
|
|
|
|
|
|
|
|
run_test ${lnav_test} -nr nested
|
|
|
|
|
|
|
|
check_output "recursive open not working?" <<EOF
|
|
|
|
2021-07-03T21:49:29 Test
|
|
|
|
EOF
|