aboutsummaryrefslogtreecommitdiff
path: root/include/usctest.h
diff options
context:
space:
mode:
authorCyril Hrubis <chrubis@suse.cz>2014-06-10 13:49:05 +0200
committerCyril Hrubis <chrubis@suse.cz>2014-06-10 14:15:22 +0200
commit1dbf0b4a70c0ef7c849a0b3cd42da2c3874f9432 (patch)
tree2459d246cda4839136c2c24a6868c3f7bc0587ee /include/usctest.h
parent3492b03c1e86370d719328aa4abefac14fd27c6f (diff)
lib: Remove -c option and STD_COPIES
Remove -c option that was never working correctly. The -c option, if set, forks the test in test setup() creating several instances of the test to be running at the same time. The problems with the implementation were: * The failure of the forked tests WAS NOT popagaged to the first instance * The test driver (ltp-pan) tracks only the first instance and kills the rest of the tests instances once the first one finishes * Most of the tests does not expect to be running concurently (there are races in using the same test directory, loop devices, etc.) While the first two would be easy to fix the last one would require reviewing and testing all testcases which is too much work. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'include/usctest.h')
-rw-r--r--include/usctest.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/usctest.h b/include/usctest.h
index 01b47f7b0..6990583a0 100644
--- a/include/usctest.h
+++ b/include/usctest.h
@@ -54,8 +54,7 @@
extern int STD_TIMING_ON, /* turned on by -t to print timing stats */
STD_LOOP_COUNT, /* changed by -in to set loop count to n */
STD_ERRNO_LOG, /* turned on by -e to log errnos returned */
- STD_ERRNO_LIST[], /* counts of errnos returned. indexed by errno */
- STD_COPIES;
+ STD_ERRNO_LIST[]; /* counts of errnos returned. indexed by errno */
#define USC_MAX_ERRNO 2000