summaryrefslogtreecommitdiffstats
path: root/debian/tests/zebra-lo
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:53:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:53:32 +0000
commit25b1166673c7fde5edb4dfa218005bf1a83eb25c (patch)
tree0eb5dc2c4eedabf82b7b531bbe0e5fcb75084e3e /debian/tests/zebra-lo
parentAdding upstream version 8.4.4. (diff)
downloadfrr-25b1166673c7fde5edb4dfa218005bf1a83eb25c.tar.xz
frr-25b1166673c7fde5edb4dfa218005bf1a83eb25c.zip
Adding debian version 8.4.4-1.1~deb12u1.debian/8.4.4-1.1_deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/zebra-lo')
-rwxr-xr-xdebian/tests/zebra-lo16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/tests/zebra-lo b/debian/tests/zebra-lo
new file mode 100755
index 0000000..2a388d5
--- /dev/null
+++ b/debian/tests/zebra-lo
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -e
+
+# should have been started on install, but policy may have inhibited that
+service frr status >/dev/null || service frr restart
+
+# these should be running by default
+pgrep watchfrr
+pgrep zebra
+pgrep staticd
+
+# check vtysh works at all
+vtysh -c 'show version'
+
+# check zebra is properly talking to the kernel
+vtysh -c 'show interface lo' | grep -q LOOPBACK