1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

When aborting, show loop counter values when more than one counter exists.

This commit is contained in:
Yang Tse 2006-10-19 21:12:27 +00:00
parent ead6ab2ef7
commit c818e7064f
7 changed files with 7 additions and 0 deletions

View File

@ -88,6 +88,7 @@ int test(char *URL)
forever */
} while(--loop1>0);
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
ret = 77;

View File

@ -45,6 +45,7 @@ int test(char *URL)
}
}
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
i = 77;

View File

@ -255,6 +255,7 @@ int test(char *URL)
}
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
i = 77;

View File

@ -129,6 +129,7 @@ int test(char *URL)
}
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
res = 77;

View File

@ -144,6 +144,7 @@ int test(char *URL)
}
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
res = 77;

View File

@ -98,6 +98,7 @@ int test(char *URL)
}
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
res = 77;

View File

@ -112,6 +112,7 @@ int test(char *URL)
}
if ((loop1 <= 0) || (loop2 <= 0)) {
fprintf(stderr, "loop1: %d loop2: %d \n", loop1, loop2);
fprintf(stderr, "ABORTING TEST, since it seems "
"that it would have run forever.\n");
res = 77;