freeswitch/libs/sofia-sip/libsofia-sip-ua/su/run_test_su

20 lines
284 B
Bash

#! /bin/bash
rc=0
if $VALGRIND ./test_su ; then
echo PASS: multithread test_su
else
echo FAIL: multithread test_su failed
rc=1
fi
if $VALGRIND ./test_su -s ; then
echo PASS: singlethread test_su
else
echo FAIL: singlethread test_su failed
rc=1
fi
exit $rc