aboutsummaryrefslogtreecommitdiffstats
path: root/tests/logging
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-09-25 20:16:14 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-25 20:25:30 +0200
commit0d67f483e2d240089105a4d241cb8c9085e245af (patch)
tree726b63b724dba0099b4d8bc6bd535de4f326ae1b /tests/logging
parent81bfef931a35771bcf1b7164b3370ae851821678 (diff)
logging_vty: Ensure writing well-formed config files
We want to have well-formed config files that print exactly one space per VTY/config node level, and not two. Change-Id: Ia75c7067284ea225cffe13ca71bad05a7747ae66
Diffstat (limited to 'tests/logging')
-rw-r--r--tests/logging/logging_vty_test.vty12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/logging/logging_vty_test.vty b/tests/logging/logging_vty_test.vty
index 0c552a58..0eedbe35 100644
--- a/tests/logging/logging_vty_test.vty
+++ b/tests/logging/logging_vty_test.vty
@@ -4,11 +4,11 @@ logging_vty_test# show running-config
...
log stderr
... !logging level all
- logging level aa debug
- logging level bb info
- logging level ccc notice
- logging level dddd error
- logging level eee fatal
+ logging level aa debug
+ logging level bb info
+ logging level ccc notice
+ logging level dddd error
+ logging level eee fatal
...
logging_vty_test# configure terminal
@@ -17,7 +17,7 @@ logging_vty_test(config)# log stderr
logging_vty_test(config-log)# logging level force-all notice
logging_vty_test(config-log)# show running-config
... !logging level all
- logging level force-all notice
+ logging level force-all notice
... !logging level all
logging_vty_test(config-log)# no logging level force-all