diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-19 21:12:27 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-19 21:12:27 +0000 |
commit | c818e7064f461c347108ccf291e73925cb6be512 (patch) | |
tree | fe8a6157cfdef1aa8295faa950dfebc83e395eb6 /tests | |
parent | ead6ab2ef765ec8c917ba8f5424d72a6624b0b20 (diff) |
When aborting, show loop counter values when more than one counter exists.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib504.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib507.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib509.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib525.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib526.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib530.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib533.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index fed91232c..cba069122 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -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; diff --git a/tests/libtest/lib507.c b/tests/libtest/lib507.c index e4b1e35a8..9a98da728 100644 --- a/tests/libtest/lib507.c +++ b/tests/libtest/lib507.c @@ -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; diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c index 9327d728f..5d385c966 100644 --- a/tests/libtest/lib509.c +++ b/tests/libtest/lib509.c @@ -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; diff --git a/tests/libtest/lib525.c b/tests/libtest/lib525.c index b5b522de1..35c504b97 100644 --- a/tests/libtest/lib525.c +++ b/tests/libtest/lib525.c @@ -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; diff --git a/tests/libtest/lib526.c b/tests/libtest/lib526.c index e521b6021..91d9206e7 100644 --- a/tests/libtest/lib526.c +++ b/tests/libtest/lib526.c @@ -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; diff --git a/tests/libtest/lib530.c b/tests/libtest/lib530.c index 6ee346d94..e73f26f36 100644 --- a/tests/libtest/lib530.c +++ b/tests/libtest/lib530.c @@ -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; diff --git a/tests/libtest/lib533.c b/tests/libtest/lib533.c index 4403f75ff..b0d63a10e 100644 --- a/tests/libtest/lib533.c +++ b/tests/libtest/lib533.c @@ -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; |