runner.py (380f649e02f9545159dc3158d7c1b2e70c1005e3) runner.py (67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45)
1#!/usr/bin/env python
2
3# Tool for running fuzz tests
4#
5# Copyright (C) 2014 Maria Kustova <maria.k@catit.be>
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by

--- 287 unchanged lines hidden (view full) ---

296 --config=JSON take fuzzer configuration from the JSON
297 array
298 -k, --keep_passed don't remove folders of passed tests
299 -v, --verbose log information about passed tests
300
301 JSON:
302
303 '--command' accepts a JSON array of commands. Each command presents
1#!/usr/bin/env python
2
3# Tool for running fuzz tests
4#
5# Copyright (C) 2014 Maria Kustova <maria.k@catit.be>
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by

--- 287 unchanged lines hidden (view full) ---

296 --config=JSON take fuzzer configuration from the JSON
297 array
298 -k, --keep_passed don't remove folders of passed tests
299 -v, --verbose log information about passed tests
300
301 JSON:
302
303 '--command' accepts a JSON array of commands. Each command presents
304 an application under test with all its paramaters as a list of strings,
304 an application under test with all its parameters as a list of strings,
305 e.g. ["qemu-io", "$test_img", "-c", "write $off $len"].
306
307 Supported application aliases: 'qemu-img' and 'qemu-io'.
308
309 Supported argument aliases: $test_img for the fuzzed image, $off
310 for an offset, $len for length.
311
312 Values for $off and $len will be generated based on the virtual disk

--- 125 unchanged lines hidden ---
305 e.g. ["qemu-io", "$test_img", "-c", "write $off $len"].
306
307 Supported application aliases: 'qemu-img' and 'qemu-io'.
308
309 Supported argument aliases: $test_img for the fuzzed image, $off
310 for an offset, $len for length.
311
312 Values for $off and $len will be generated based on the virtual disk

--- 125 unchanged lines hidden ---