From: Jorrit Herder Date: Fri, 17 Jun 2005 08:51:28 +0000 (+0000) Subject: Fixed typo in run output; X-Git-Tag: v3.1.0~759 X-Git-Url: http://zhaoyanbai.com/repos/man.delv.html?a=commitdiff_plain;h=8621d392b0a8b435ca6b12aa788cadc884510a91;p=minix.git Fixed typo in run output; Reduced NR_ITERATIONS for tests dealing with MAX_LINKS. --- diff --git a/test/run b/test/run index f2d7e06e3..b34779d97 100755 --- a/test/run +++ b/test/run @@ -13,7 +13,7 @@ badones= # list of tests that failed # Print test welcome message clr echo "Running POSIX compliance test suite. There are 40 tests in total." -echo "Please note that some tests may take a while, even a fast systems." +echo "Please note that some tests may take a while, even on fast systems." echo " " # Run all the tests, keeping track of who failed. diff --git a/test/test20.c b/test/test20.c index 193ed019e..bb7d56f0d 100644 --- a/test/test20.c +++ b/test/test20.c @@ -25,7 +25,7 @@ #include #define DIR_NULL (DIR*) NULL -#define ITERATIONS 5 +#define ITERATIONS 3 /* LINK_MAX is high, so time consuming */ #define MAX_FD 100 /* must be large enough to cause error */ #define BUF_SIZE PATH_MAX+20 #define ERR_CODE -1 /* error return */ diff --git a/test/test26.c b/test/test26.c index 71a24fea9..7a2cd201f 100644 --- a/test/test26.c +++ b/test/test26.c @@ -26,7 +26,7 @@ char ToLongName[NAME_MAX + 2]; /* Name of maximum +1 length */ char ToLongPath[PATH_MAX + 1]; /* Same for path, both too long */ #define MAX_ERROR 4 -#define ITERATIONS 4 +#define ITERATIONS 2 /* LINK_MAX is high, so time consuming. */ #define System(cmd) if (system(cmd) != 0) printf("``%s'' failed\n", cmd) #define Chdir(dir) if (chdir(dir) != 0) printf("Can't goto %s\n", dir)