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:
parent
ead6ab2ef7
commit
c818e7064f
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user