Print out warnings about warnings before warnings appear
This commit was SVN r5052.
Этот коммит содержится в:
родитель
da23029c96
Коммит
450cfb0a8c
@ -96,11 +96,15 @@ main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* foo.example.com */
|
/* foo.example.com */
|
||||||
|
printf("This should generate a warning:\n");
|
||||||
|
fflush(stdout);
|
||||||
if (test_ifaddrtoname("foo.example.com")) {
|
if (test_ifaddrtoname("foo.example.com")) {
|
||||||
test_failure("ifaddrtoname test failed for foo.example.com");
|
test_failure("ifaddrtoname test failed for foo.example.com");
|
||||||
} else {
|
} else {
|
||||||
test_success();
|
test_success();
|
||||||
}
|
}
|
||||||
|
printf("This should generate a warning:\n");
|
||||||
|
fflush(stdout);
|
||||||
if (ompi_ifislocal("foo.example.com")) {
|
if (ompi_ifislocal("foo.example.com")) {
|
||||||
test_failure("ifislocal test failed for foo.example.com");
|
test_failure("ifislocal test failed for foo.example.com");
|
||||||
} else {
|
} else {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user