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:
Florian Weimer 2017-11-11 10:54:16 +01:00
parent 8cb5295d3f
commit a19c0a1db5
2 changed files with 11 additions and 2 deletions

View File

@ -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>
* include/setjmp.h [!_ISOMAC]: Include <stddef.h> and

View File

@ -214,8 +214,8 @@ check_long_name (void)
free (mem.buffer);
}
int
main (void)
static int
do_test (void)
{
struct resolv_test *obj = resolv_test_start
((struct resolv_redirect_config)
@ -296,4 +296,8 @@ main (void)
check_long_name ();
resolv_test_end (obj);
return 0;
}
#include <support/test-driver.c>