summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/osf.t
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2019-03-27 11:37:58 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-04-08 23:46:50 +0200
commit12adf747a3f627241339eccb477273d5385a8bb9 (patch)
tree5f4c20e78dc288493bcf68404bbd050832557dca /tests/py/inet/osf.t
parent7fcccaebfd0ac5a4f001b5d5cd3c6ffbaa71cfe6 (diff)
tests: py: add osf tests with versions
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/osf.t')
-rw-r--r--tests/py/inet/osf.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/py/inet/osf.t b/tests/py/inet/osf.t
index fd5d9ed8..c8285419 100644
--- a/tests/py/inet/osf.t
+++ b/tests/py/inet/osf.t
@@ -7,8 +7,12 @@
osf name "Linux";ok
osf ttl loose name "Linux";ok
osf ttl skip name "Linux";ok
+osf ttl skip version "Linux:3.0";ok
+osf ttl skip version "morethan:sixteenbytes";fail
osf ttl nottl name "Linux";fail
osf name "morethansixteenbytes";fail
osf name ;fail
osf name { "Windows", "MacOs" };ok
+osf version { "Windows:XP", "MacOs:Sierra" };ok
ct mark set osf name map { "Windows" : 0x00000001, "MacOs" : 0x00000002 };ok
+ct mark set osf version map { "Windows:XP" : 0x00000003, "MacOs:Sierra" : 0x00000004 };ok