run_test_su

来自「Sofia SIP is an open-source SIP User-Age」· 代码 · 共 35 行

TXT
35
字号
#! /bin/shrc=0run=nofor SU_PORT in select kqueue devpoll epoll poll ; doexport SU_PORTegrep -i '^#define have_(sys_)?'$SU_PORT ../../config.h >/dev/null ||continuerun=yesif $VALGRIND ./test_su ; then    echo PASS: multithread test_su with $SU_PORTelse    echo FAIL: multithread test_su with $SU_PORT failed    rc=1fiif $VALGRIND ./test_su -s ; then    echo PASS: singlethread test_su with $SU_PORTelse    echo FAIL: singlethread test_su with $SU_PORT failed    rc=1fidonetest $run = no && exit 77exit $rc

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?