diff options
Diffstat (limited to 'login/tst-grantpt.c')
-rw-r--r-- | login/tst-grantpt.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/login/tst-grantpt.c b/login/tst-grantpt.c index 5078dac26c..65bb344909 100644 --- a/login/tst-grantpt.c +++ b/login/tst-grantpt.c @@ -66,8 +66,8 @@ test_einval (void) return ret; } -int -main (void) +static int +do_test (void) { int result = 0; @@ -76,3 +76,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |