diff options
Diffstat (limited to 'utils/sctp/func_tests/test_peeloff.c')
-rw-r--r-- | utils/sctp/func_tests/test_peeloff.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/sctp/func_tests/test_peeloff.c b/utils/sctp/func_tests/test_peeloff.c index 1b9e7014b..e3a7ee65f 100644 --- a/utils/sctp/func_tests/test_peeloff.c +++ b/utils/sctp/func_tests/test_peeloff.c @@ -51,6 +51,7 @@ #include <errno.h> #include <netinet/sctp.h> #include <sctputil.h> +#include "tst_kernel.h" char *TCID = __FILE__; int TST_TOTAL = 6; @@ -81,6 +82,9 @@ main(void) char *message = "hello, world!\n"; int pf_class; + if (tst_check_driver("sctp")) + tst_brkm(TCONF, tst_exit, "sctp driver not available"); + /* Rather than fflush() throughout the code, set stdout to * be unbuffered. */ |