示例#1
0
int main (int   argc,
          char *argv[]) {
	Options options;

	if (parse_options (argc, argv, &options) == FALSE) {
		usage ();
		exit (255);
	};

	rpc_init ();

	switch (options.test_mode) {
		case TEST_STANDARD:
			test_standard (options);
			break;

		case TEST_MULTIUSER:
			test_multiuser (options);
			break;
	}

	cleanup ();

	return 0;
}
示例#2
0
/* Run tests */
int main()
{
	test_standard();
	test_redirect();
	test_pipe();
//	direct_input();

	return 0;
}