sys.exit(1)
with open(test_yaml_path, "w+") as fp:
fp.write("# *** Add configuration here ***\n\n")
+ if not args["strictcsums"]:
+ fp.write("args:\n- -k none\n\n")
fp.write(data)
help="Create filter blocks based on event types only")
parser.add_argument("--allow-events", nargs="?", default=None,
help="Create filter blocks for the specified events")
+ parser.add_argument("--strictcsums", default=None, action="store_true",
+ help="Stricly validate checksum")
# add arg to allow stdout only
args = parser.parse_args()
largs = create_local_args()
env = create_env()
+ if not args["strictcsums"]:
+ largs += ["-k", "none"]
p = subprocess.Popen(
largs, cwd=cwd, env=env,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)