[Freeswitch-trunk] [commit] r12738 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nta
FreeSWITCH SVN
mikej at freeswitch.org
Tue Mar 24 08:37:43 PDT 2009
Author: mikej
Date: Tue Mar 24 10:37:43 2009
New Revision: 12738
Log:
Thu Mar 5 13:06:59 CST 2009 Pekka Pessi <first.last at nokia.com>
* run_test_nta: fixed bashism with exec
Ignore-this: 6d034eb8fd66f6a903e3219589f62eef
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/run_test_nta
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Tue Mar 24 10:37:43 2009
@@ -1 +1 @@
-Tue Mar 24 10:36:05 CDT 2009
+Tue Mar 24 10:36:48 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/run_test_nta
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/run_test_nta (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/run_test_nta Tue Mar 24 10:37:43 2009
@@ -188,7 +188,7 @@
# -g is also very nice option for named
named -f -c $namedfile &
pid=$!
-while ! test -r $pidfile && kill -0 $!
+while ! test -r $pidfile && kill -0 $! 2>/dev/null
do
sleep 1
done
@@ -205,12 +205,10 @@
exit $exit
else
echo "$0: cannot start named (check apparmor/selinux)"
- exec ipv6=$ipv6 $VALGRIND ./test_nta "$@"
+ ipv6=$ipv6 $VALGRIND exec ./test_nta "$@"
fi
else # not having BIND and portbind
-
-ipv6=$ipv6 $VALGRIND ./test_nta "$@"
-exit $?
+ ipv6=$ipv6 $VALGRIND exec ./test_nta "$@"
fi
More information about the Freeswitch-trunk
mailing list