summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/py/inet/osf.t6
-rw-r--r--tests/py/inet/osf.t.payload4
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/py/inet/osf.t b/tests/py/inet/osf.t
new file mode 100644
index 00000000..743049a0
--- /dev/null
+++ b/tests/py/inet/osf.t
@@ -0,0 +1,6 @@
+:osfchain;type filter hook input priority 0
+
+*ip;osfip;osfchain
+
+osf name Linux;ok
+osf name;fail
diff --git a/tests/py/inet/osf.t.payload b/tests/py/inet/osf.t.payload
new file mode 100644
index 00000000..bb110516
--- /dev/null
+++ b/tests/py/inet/osf.t.payload
@@ -0,0 +1,4 @@
+# osf name Linux
+ip osfip osfchain
+ [ osf 1]
+ [ cmp eq reg 1 0x756e694c 0x00000078 0x00000000 0x00000000 ]