1#!/bin/sh 2 3if ! lsmod | grep -q sctp && ! modprobe sctp 2>/dev/null; then 4 echo "Couldn't load kernel module sctp." 5 echo "Test cases testsctp and testcnx will fail." 6 echo 7fi 8 9export EXTENSIONS_DIR=$EXTENSIONS_DIR 10cmake -E cmake_echo_color --cyan "Running tests..." 11ctest --force-new-ctest-process 12