summaryrefslogtreecommitdiffstats
path: root/tests/tdef
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tdef')
-rw-r--r--tests/tdef/tdef_vty_test_config_root.vty41
1 files changed, 6 insertions, 35 deletions
diff --git a/tests/tdef/tdef_vty_test_config_root.vty b/tests/tdef/tdef_vty_test_config_root.vty
index e7c96ca3..8613ff36 100644
--- a/tests/tdef/tdef_vty_test_config_root.vty
+++ b/tests/tdef/tdef_vty_test_config_root.vty
@@ -115,32 +115,13 @@ tdef_vty_test(config)# do show timer tea T-123
% Invalid T timer argument (should be 'T1234' or 'X1234'): 'T-123'
tdef_vty_test(config)# do show timer t
-tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
-tea: T2 = 300 s Tea brewing (default: 300 s)
-tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
-tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
-test: T1 = 100 s Testing a hundred seconds (default: 100 s)
-test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
-test: T3 = 100 m Testing a hundred minutes (default: 100 m)
-test: T4 = 100 Testing a hundred potatoes (default: 100)
-test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
-test: X23 = 239471 s Negative T number (default: 239471 s)
+% Ambiguous command.
tdef_vty_test(config)# do show timer te
-tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
-tea: T2 = 300 s Tea brewing (default: 300 s)
-tea: T3 = 5 m Let tea cool down before drinking (default: 5 m)
-tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
-test: T1 = 100 s Testing a hundred seconds (default: 100 s)
-test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
-test: T3 = 100 m Testing a hundred minutes (default: 100 m)
-test: T4 = 100 Testing a hundred potatoes (default: 100)
-test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
-test: X23 = 239471 s Negative T number (default: 239471 s)
+% Ambiguous command.
tdef_vty_test(config)# do show timer te T2
-tea: T2 = 300 s Tea brewing (default: 300 s)
-test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
+% Ambiguous command.
tdef_vty_test(config)# timer tea 3 30
@@ -174,20 +155,10 @@ tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
tdef_vty_test(config)# timer t
-tea: T1 = 50 s Water Boiling Timeout (default: 50 s)
-tea: T2 = 300 s Tea brewing (default: 300 s)
-tea: T3 = 32 m Let tea cool down before drinking (default: 5 m)
-tea: T4 = 20 m Forgot to drink tea while it's warm (default: 20 m)
-test: T1 = 100 s Testing a hundred seconds (default: 100 s)
-test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
-test: T3 = 100 m Testing a hundred minutes (default: 100 m)
-test: T4 = 100 Testing a hundred potatoes (default: 100)
-test: T2147483647 = 4294967295 m Very large (default: 4294967295 m)
-test: X23 = 239471 s Negative T number (default: 239471 s)
+% Ambiguous command.
tdef_vty_test(config)# timer te T2
-tea: T2 = 300 s Tea brewing (default: 300 s)
-test: T2 = 100 ms Testing a hundred milliseconds (default: 100 ms)
+% Ambiguous command.
tdef_vty_test(config)# timer test T2 100
@@ -195,7 +166,7 @@ tdef_vty_test(config)# timer tes T2 100
% Error: no timers found
tdef_vty_test(config)# timer te T2 100
-% Error: no timers found
+% Ambiguous command.
tdef_vty_test(config)# do show timer software