Fixed typo in run output;

Reduced NR_ITERATIONS for tests dealing with MAX_LINKS.
This commit is contained in:
Jorrit Herder 2005-06-17 08:51:28 +00:00
parent 85f2038c7c
commit 8621d392b0
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ badones= # list of tests that failed
# Print test welcome message # Print test welcome message
clr clr
echo "Running POSIX compliance test suite. There are 40 tests in total." 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 " " echo " "
# Run all the tests, keeping track of who failed. # Run all the tests, keeping track of who failed.

View file

@ -25,7 +25,7 @@
#include <stdio.h> #include <stdio.h>
#define DIR_NULL (DIR*) NULL #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 MAX_FD 100 /* must be large enough to cause error */
#define BUF_SIZE PATH_MAX+20 #define BUF_SIZE PATH_MAX+20
#define ERR_CODE -1 /* error return */ #define ERR_CODE -1 /* error return */

View file

@ -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 */ char ToLongPath[PATH_MAX + 1]; /* Same for path, both too long */
#define MAX_ERROR 4 #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 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) #define Chdir(dir) if (chdir(dir) != 0) printf("Can't goto %s\n", dir)