Home | History | Annotate | Download | only in pounder21

Lines Matching refs:max_failures

67 	int max_failures = 0;
72 ("Usage: %s [-m max_failures] time_in_sec command [args]\n",
76 //by default, set max_failures to whatever the env variable $MAX_FAILURES is
77 char *max_failures_env = getenv("MAX_FAILURES");
78 max_failures = atoi(max_failures_env);
80 //if the -m option is used when calling timed_loop, override max_failures
81 //specified by $MAX_FAILURES with the given argument instead
83 if ((max_failures = atoi(argv[2])) >= 0) {
87 ("Usage: %s [-m max_failures] time_in_sec command [args]\n",
90 ("max_failures should be a nonnegative integer\n");
189 if (max_failures > 0) {
190 if (++fail_counter > max_failures) {