mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
resolv: Use test framework in tst-resolv-network
The main function was left in place by accident when the test was imported.
This commit is contained in:
parent
8cb5295d3f
commit
a19c0a1db5
@ -1,3 +1,8 @@
|
|||||||
|
2017-11-11 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* resolv/tst-resolv-network.c: Use test framework instead explicit
|
||||||
|
main function.
|
||||||
|
|
||||||
2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
|
* include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
|
||||||
|
@ -214,8 +214,8 @@ check_long_name (void)
|
|||||||
free (mem.buffer);
|
free (mem.buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
main (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
struct resolv_test *obj = resolv_test_start
|
struct resolv_test *obj = resolv_test_start
|
||||||
((struct resolv_redirect_config)
|
((struct resolv_redirect_config)
|
||||||
@ -296,4 +296,8 @@ main (void)
|
|||||||
check_long_name ();
|
check_long_name ();
|
||||||
|
|
||||||
resolv_test_end (obj);
|
resolv_test_end (obj);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include <support/test-driver.c>
|
||||||
|
Loading…
Reference in New Issue
Block a user