diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-03-11 17:01:29 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-03-14 15:54:26 +0000 |
commit | d877dcc1c40d6d231778a27eeabb2f525aa8c03a (patch) | |
tree | 71aeb74bfa1eab253f1d5608bdd2d0418279616c /tshark.c | |
parent | 54798eee3b5b93b0324fe865e33ab21935e51cca (diff) | |
download | wireshark-d877dcc1c40d6d231778a27eeabb2f525aa8c03a.tar.gz |
Parallelize fuzz-test.sh
Run each "argument" test (e.g. "-nVxr" and "-nr") simultaneously in
the background. This should speed up our tests without reducing the
amount of fuzzing that we do.
Change-Id: I737d1dc09b31e07910d56632bec62da0f35fe222
Reviewed-on: https://code.wireshark.org/review/14432
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1103,6 +1103,9 @@ main(int argc, char *argv[]) g_string_free(comp_info_str, TRUE); g_string_free(runtime_info_str, TRUE); + /* Fail sometimes. Useful for testing fuzz scripts. */ + /* if (g_random_int_range(0, 100) < 5) abort(); */ + /* * In order to have the -X opts assigned before the wslua machine starts * we need to call getopt_long before epan_init() gets called. |