Check that all 3 DNS message are logged, and that an unsolicted dns
response event is logged.
+
+NOTE: Unsolicited responses do not exist with the Rust DNS parser as
+it doesn't correlate responses with requests.
if os.path.exists(os.path.join(directory, "skip")):
return (True, None)
+ if os.path.exists(os.path.join(directory, "skip.sh")):
+ rc = subprocess.call([
+ "/bin/sh", os.path.join(directory, "skip.sh")])
+ if rc == 0:
+ return True, None
+
if directory.find("lua") > -1:
if not check_for_lua():
return (True, "lua not available")
# If a test matches a pattern, we do not skip it.
for pattern in args.patterns:
if name.find(pattern) > -1:
- do_test = True
+ skip, reason = check_skip(dirpath)
+ if skip:
+ skipped += 1
+ if reason:
+ print("===> %s: SKIPPED: %s" % (name, reason))
+ else:
+ print("===> %s: SKIPPED" % (name))
+ else:
+ do_test = True
break
if do_test: