mirror of
https://github.com/tstack/lnav.git
synced 2024-08-17 00:40:30 +03:00
Revert "[pretty-print] add a test for the pretty-printer"
This reverts commit e0cec10445
.
This commit is contained in:
parent
e0cec10445
commit
42b809427d
@ -68,7 +68,7 @@ run_test() {
|
||||
# EOF
|
||||
#
|
||||
check_output() {
|
||||
diff -w -u ${test_file_base}_${test_num}.tmp - > ${test_file_base}_${test_num}.diff
|
||||
diff -u ${test_file_base}_${test_num}.tmp - > ${test_file_base}_${test_num}.diff
|
||||
if test $? -ne 0; then
|
||||
echo $LAST_TEST
|
||||
echo $1
|
||||
|
@ -1,4 +0,0 @@
|
||||
2015-03-12T23:16:52.071:INFO:com.root:Response :
|
||||
<?xml version="1.0"?>
|
||||
<response><locale>en-US</locale><requestid>ipInfo</requestid><value id="ipv4Gateway" actions="enabled">10.133.235.253</value><value id="ipv6Gateway" actions="enabled"/><value id="ipv6Enabled" actions="enabled">true</value><value id="ipv4Enabled" actions="enabled">true</value><value id="name" actions="enabled">nic1</value><value id="v4config" actions="enabled"><value id="defaultGateway" actions="enabled">0.0.0.0</value><value id="updateable" actions="enabled">True</value><value id="prefix" actions="enabled">22</value><value id="mode" actions="enabled">dhcp</value><value id="address" actions="enabled">10.133.234.110</value><value id="interface" actions="enabled">nic1</value></value><value id="v6config" actions="enabled"><value id="defaultGateway" actions="enabled">fe80::214:f609:19f7:6bf1</value><value id="updateable" actions="enabled">True</value><value id="interface" actions="enabled">nic1</value><value id="dhcp" actions="enabled">False</value><value id="autoconf" actions="enabled">False</value><value id="addresses" actions="enabled"><value id="origin" actions="enabled">other</value><value id="status" actions="enabled">preferred</value><value id="prefix" actions="enabled">64</value><value id="address" actions="enabled">fe80::250:56ff:feaa:5abf</value></value></value><value id="interfaceInfo" actions="enabled"><value id="status" actions="enabled">up</value><value id="mac" actions="enabled">00:50:56:aa:5a:bf</value><value id="name" actions="enabled">nic1</value></value></response>
|
||||
|
@ -284,56 +284,6 @@ check_output "pipe-line-to is not working" <<EOF
|
||||
EOF
|
||||
|
||||
|
||||
run_test ${lnav_test} -n \
|
||||
-c ":switch-to-view pretty" \
|
||||
${test_dir}/logfile_vami.0
|
||||
check_output "pretty-printer is not working" <<EOF
|
||||
2015-03-12T23:16:52.071:INFO:com.root:Response :
|
||||
|
||||
<?xml version="1.0"?>
|
||||
|
||||
|
||||
<response>
|
||||
<locale>en-US</locale>
|
||||
<requestid>ipInfo</requestid>
|
||||
<value id="ipv4Gateway" actions="enabled">10.133.235.253</value>
|
||||
<value id="ipv6Gateway" actions="enabled"/>
|
||||
<value id="ipv6Enabled" actions="enabled">true</value>
|
||||
<value id="ipv4Enabled" actions="enabled">true</value>
|
||||
<value id="name" actions="enabled">nic1</value>
|
||||
<value id="v4config" actions="enabled">
|
||||
<value id="defaultGateway" actions="enabled">0.0.0.0</value>
|
||||
<value id="updateable" actions="enabled">True</value>
|
||||
<value id="prefix" actions="enabled">22</value>
|
||||
<value id="mode" actions="enabled">dhcp</value>
|
||||
<value id="address" actions="enabled">10.133.234.110</value>
|
||||
<value id="interface" actions="enabled">nic1</value>
|
||||
</value>
|
||||
<value id="v6config" actions="enabled">
|
||||
<value id="defaultGateway" actions="enabled">fe80::214:f609:19f7:6bf1</value>
|
||||
<value id="updateable" actions="enabled">True</value>
|
||||
<value id="interface" actions="enabled">nic1</value>
|
||||
<value id="dhcp" actions="enabled">False</value>
|
||||
<value id="autoconf" actions="enabled">False</value>
|
||||
<value id="addresses" actions="enabled">
|
||||
<value id="origin" actions="enabled">other</value>
|
||||
<value id="status" actions="enabled">preferred</value>
|
||||
<value id="prefix" actions="enabled">64</value>
|
||||
<value id="address" actions="enabled">fe80::250:56ff:feaa:5abf</value>
|
||||
</value>
|
||||
</value>
|
||||
<value id="interfaceInfo" actions="enabled">
|
||||
<value id="status" actions="enabled">up</value>
|
||||
<value id="mac" actions="enabled">00:50:56:aa:5a:bf</value>
|
||||
<value id="name" actions="enabled">nic1</value>
|
||||
</value>
|
||||
</response>
|
||||
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
|
||||
run_test ${lnav_test} -n \
|
||||
-c ":set-min-log-level error" \
|
||||
${test_dir}/logfile_access_log.0
|
||||
|
Loading…
Reference in New Issue
Block a user