summaryrefslogtreecommitdiff
path: root/tests/bgpd.tests/testbgpmpath.exp
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2013-02-26 17:53:30 +0100
committerDavid Lamparter <equinox@diac24.net>2013-04-14 16:01:11 +0200
commit5bb7e4d12b3a3015208fad5ee0f3c055b704c8c4 (patch)
tree715ef4c4c267687d86e0c8fb7a494c31038c32bd /tests/bgpd.tests/testbgpmpath.exp
parentf281ab9752393fcc7cbb54c50edb66f25c2a31fb (diff)
tests: DejaGNU bgpd
this just wraps the existing test programs in expect wrappers that make their results usable to DejaGNU. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/bgpd.tests/testbgpmpath.exp')
-rw-r--r--tests/bgpd.tests/testbgpmpath.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bgpd.tests/testbgpmpath.exp b/tests/bgpd.tests/testbgpmpath.exp
new file mode 100644
index 00000000..96a51e39
--- /dev/null
+++ b/tests/bgpd.tests/testbgpmpath.exp
@@ -0,0 +1,12 @@
+set timeout 10
+set testprefix "testbgpmpath "
+set aborted 0
+set color 1
+
+spawn "./testbgpmpath"
+
+# proc simpletest { start } {
+
+simpletest "bgp maximum-paths config"
+simpletest "bgp_mp_list"
+simpletest "bgp_info_mpath_update"