1 --- tests/testing.c.orig	Thu Oct 27 10:51:03 2005
2 +++ tests/testing.c	Tue Feb 14 17:46:01 2006
3 @@ -376,11 +376,11 @@ processCommand(char *line, int no)
4          }
5          printf("chmod %s to %s\n", arg, arg2);
6      } else if (!strcmp(command, "chown")) {
7 +	struct stat sb;
8          if (args != 3) {
9              fprintf(stderr, "chown line %d: lacks path and owner\n", no);
10              return (-1);
11          }
12 -		struct stat sb;
13  		if (!lstat (arg, &sb)) {
14  			ret = (S_ISLNK (sb.st_mode)) ?
15  				lchown(arg, strtol(arg2, NULL, 10), -1) :
16 @@ -486,9 +486,9 @@ processCommand(char *line, int no)
17              return (-1);
18          }
19          /*
20 -         * wait at most 3 secs before declaring failure
21 +         * wait at most 7 secs before declaring failure
22           */
23 -        while ((delay < 30) && (testState.nb_events < nb_events + count)) {
24 +        while ((delay < 70) && (testState.nb_events < nb_events + count)) {
25              debugLoop(100);
26 
27  /*	    printf("+"); fflush(stdout); */
28