Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: scan
- command: "scan\r"
- start: "scan:start"
- end: "scan:end"
- # success:
- # scan test: found 15 APs
- # failure:
- # scan test: failure, found 0 APs
- pattern: (?P<test_case_id>[a-zA-Z]+)\s+test:\s(?P<result>(found|failure)).*\s(?P<measurement>\d+)\sAPs
- fixupdict:
- "found": pass
- "fail": failure
- - name: join-open-ap
- command: "join flow2 open\r"
- start: "join:start"
- end: "join:end"
- # success:
- # join test: pass
- # failure:
- # join test: fail
- pattern: (?P<test_case_id>join)\stest:\s(?P<result>(pass|fail))
- - name: single-ping
- command: "ping 192.168.100.101\r"
- start: "ping:start"
- end: "ping:end"
- # success:
- # Ping Reply 4ms
- # failure:
- # Ping error
- # Ping timeout
- pattern: (?P<test_case_id>Ping)\s+(?P<result>(Reply|timeout|error))\s?(?P<measurement>[0-9]+)?m?s?
- fixupdict:
- "Reply": pass
- "timeout": fail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement