Fixed typo in run output;
Reduced NR_ITERATIONS for tests dealing with MAX_LINKS.
This commit is contained in:
parent
85f2038c7c
commit
8621d392b0
3 changed files with 3 additions and 3 deletions
2
test/run
2
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.
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue