freeswitch/libs/spandsp/tests/v27ter_tests.sh
2012-08-05 18:38:47 +08:00

17 lines
327 B
Bash
Executable File

#!/bin/sh
STDOUT_DEST=xyzzy
STDERR_DEST=xyzzy2
for OPTS in "-g -b 4800 -s -42 -n -57" "-g -b 2400 -s -42 -n -51"
do
./v27ter_tests ${OPTS} >$STDOUT_DEST 2>$STDERR_DEST
RETVAL=$?
if [ $RETVAL != 0 ]
then
echo v27ter_tests ${OPTS} failed!
exit $RETVAL
fi
done
echo v27ter_tests completed OK