diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/py/inet/osf.t.json | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/tests/py/inet/osf.t.json b/tests/py/inet/osf.t.json new file mode 100644 index 00000000..10fb68c1 --- /dev/null +++ b/tests/py/inet/osf.t.json @@ -0,0 +1,66 @@ +# osf name "Linux" +[ + { + "match": { + "left": { + "osf": { + "key": "name" + } + }, + "right": "Linux" + } + } +] + +# osf name { "Windows", "MacOs" } +[ + { + "match": { + "left": { + "osf": { + "key": "name" + } + }, + "right": { + "set": [ + "MacOs", + "Windows" + ] + } + } + } +] + +# ct mark set osf name map { "Windows" : 0x00000001, "MacOs" : 0x00000002 } +[ + { + "mangle": { + "left": { + "ct": { + "key": "mark" + } + }, + "right": { + "map": { + "left": { + "osf": { + "key": "name" + } + }, + "right": { + "set": [ + [ + "MacOs", + 2 + ], + [ + "Windows", + 1 + ] + ] + } + } + } + } + } +] |