#! /bin/bash run_test ${lnav_test} -n \ -c ":adjust-log-time 2010-01-01T00:00:00" \ ${test_dir}/logfile_access_log.0 check_output "adjust-log-time is not working" <> logfile_append.0" \ -c ":rebuild" \ logfile_append.0 check_output "filter-out append is not working" < en-US ipInfo 10.133.235.253 (unknown) true true nic1 0.0.0.0 (unknown) True 22 dhcp 10.133.234.110 (unknown) nic1 fe80::214:f609:19f7:6bf1 (unknown) True nic1 False False other preferred 64 fe80::250:56ff:feaa:5abf (unknown) up 00:50:56:aa:5a:bf nic1 EOF run_test ${lnav_test} -n \ -c ":goto 0" \ -c ":switch-to-view pretty" \ ${test_dir}/logfile_pretty.0 check_output "pretty-printer is not working" < url="https://tools.google.com/service/update2" runningFetchers=0 tickets=1 activeTickets=1 rollCallTickets=1 body= > Apr 7 07:31:56 Tim-Stacks-iMac.local VirtualBox[36403]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.2 instead of 10.10.2. Use NSProcessInfo's operatingSystemVersion property to get correct system version number. Call location: Apr 7 07:31:56 Tim-Stacks-iMac.local VirtualBox[36403]: 0 CarbonCore 0x00007fff8a9b3d9b ___Gestalt_SystemVersion_block_invoke + 113 Apr 7 07:31:56 Tim-Stacks-iMac.local VirtualBox[36403]: 1 libdispatch.dylib 0x00007fff8bc84c13 _dispatch_client_callout + 8 EOF run_test ${lnav_test} -n \ -c ":set-min-log-level error" \ ${test_dir}/logfile_access_log.0 check_output "set-min-log-level is not working" <