diff options
Diffstat (limited to 'misc/tst-mntent.c')
-rw-r--r-- | misc/tst-mntent.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/tst-mntent.c b/misc/tst-mntent.c index 876c89f8ed..932fd3f522 100644 --- a/misc/tst-mntent.c +++ b/misc/tst-mntent.c @@ -5,8 +5,8 @@ #include <string.h> -int -main (int argc, char *argv[]) +static int +do_test (void) { int result = 0; struct mntent mef; @@ -97,3 +97,6 @@ main (int argc, char *argv[]) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |