Reduced NR_ITERATIONS for tests dealing with MAX_LINKS.
# 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.
#include <stdio.h>
#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 */
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)