diff options
Diffstat (limited to 'tests/vty/vty_transcript_test.vty')
-rw-r--r-- | tests/vty/vty_transcript_test.vty | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/vty/vty_transcript_test.vty b/tests/vty/vty_transcript_test.vty new file mode 100644 index 00000000..1ae7c0d7 --- /dev/null +++ b/tests/vty/vty_transcript_test.vty @@ -0,0 +1,53 @@ +vty_transcript_test> list +... + multi0 (one|two|three) + multi1 ([one]|[two]|[three]) + +vty_transcript_test> multi0 ? + one 1 + two 2 + three 3 + +vty_transcript_test> multi0 one +ok argc=1 one + +vty_transcript_test> multi0 two +ok argc=1 two + +vty_transcript_test> multi0 o +ok argc=1 o + +vty_transcript_test> multi0 t +ok argc=1 t + +vty_transcript_test> multi0 th +ok argc=1 th + +vty_transcript_test> multi0 +% Command incomplete. + +vty_transcript_test> multi1 ? + [one] 1 + [two] 2 + [three] 3 + +vty_transcript_test> multi1 one +ok argc=1 one + +vty_transcript_test> multi1 two +ok argc=1 two + +vty_transcript_test> multi1 o +ok argc=1 o + +vty_transcript_test> multi1 t +ok argc=1 t + +vty_transcript_test> multi1 th +ok argc=1 th + +vty_transcript_test> multi1 +% Command incomplete. + +vty_transcript_test> multi1 [one] +% Unknown command. |