Lines Matching defs:ztest

35  * The overall design of the ztest program is as follows:
59 * testing is enabled ztest will sometimes run the "older" version
60 * of ztest after a SIGKILL.
68 * When run with no arguments, ztest runs for about five minutes and
79 * When ztest invokes itself it passes all relevant information through a
84 * must remain backwards compatible with older versions of ztest so that
85 * ztest can invoke them during backwards compatibility testing (-B).
483 (void) sprintf(buf, "ztest: ");
511 (void) fprintf(stderr, "ztest: invalid bytes suffix: %s\n",
518 (void) fprintf(stderr, "ztest: invalid bytes suffix: %s\n", buf);
531 (void) fprintf(stderr, "ztest: bad numeric value: %s\n", buf);
537 (void) fprintf(stderr, "ztest: value too large: %s\n",
545 (void) fprintf(stderr, "ztest: value too large: %s\n",
586 "\t[-B alt_ztest (default: <none>)] alternate ztest path\n"
735 char *ztest;
745 fatal(B_TRUE, "invalid alternate ztest path: %s",
751 * 'cmd' should be of the form "<anything>/usr/bin/<isa>/ztest".
756 ztest = strstr(bin, "/ztest");
758 isalen = ztest - isa;
760 "%s/usr/bin/%.*s/ztest", realaltdir, isalen, isa);
766 fatal(B_TRUE, "invalid alternate ztest: %s",
786 * Before we kill off ztest, make sure that the config is updated.
3182 * Create the objects common to all ztest datasets.
5253 char *ztest;
5258 strlcpy(zdb, "/usr/bin/ztest", sizeof(zdb));
5260 /* zdb lives in /usr/sbin, while ztest lives in /usr/bin */
5262 ztest = strstr(bin, "/ztest");
5264 isalen = ztest - isa;
5457 (void) printf("ztest has been running for %lld seconds\n",
5545 * ztest thread t operates on dataset (t % zopt_datasets),
6016 static char ztest_name_data[] = "/tmp/ztest.data.XXXXXX";
6268 (void) printf("Executing older ztest for "
6315 (void) printf("Executing newer ztest: %s\n",
6322 (void) printf("Executing older ztest: %s\n",
6375 * instead of 'ztest'. Do a blind rename in case this happened.
6395 (void) printf("%d runs of older ztest: %s\n", older,
6397 (void) printf("%d runs of newer ztest: %s\n", newer,