summaryrefslogtreecommitdiffstats
path: root/tests/py/any/rt.t.payload
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/any/rt.t.payload')
-rw-r--r--tests/py/any/rt.t.payload10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/py/any/rt.t.payload b/tests/py/any/rt.t.payload
index 0e354fa0..e1ecb286 100644
--- a/tests/py/any/rt.t.payload
+++ b/tests/py/any/rt.t.payload
@@ -3,3 +3,13 @@ ip test-ip4 input
[ rt load classid => reg 1 ]
[ cmp eq reg 1 0x00000000 ]
+# rt ipsec exists
+ip test-ip4 input
+ [ rt load ipsec => reg 1 ]
+ [ cmp eq reg 1 0x00000001 ]
+
+# rt ipsec missing
+ip test-ip4 input
+ [ rt load ipsec => reg 1 ]
+ [ cmp eq reg 1 0x00000000 ]
+