Browse Source

- fix test 33, add a small sleep as the core dumping is sometimes slow
- add a TEST check for the dbtext DB to the openserctl.dbtext, fix test 10


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4233 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt 17 years ago
parent
commit
947cd9e071
1 changed files with 6 additions and 3 deletions
  1. 6 3
      test/unit/33.sh

+ 6 - 3
test/unit/33.sh

@@ -59,13 +59,16 @@ if [ ! $ret -eq 0 ] ; then
 	cat register.sip | nc -q 1 -u localhost 5060 > /dev/null
 fi;
 
-killall -9 openser
+sleep 1
+killall -9 openser > /dev/null
 ret=$?
 
-if [ ! $ret -eq 0 ] ; then
+if [ $ret -eq 0 ] ; then
 	ret=1
-
+else
+	ret=0
 fi;
+
 if [ ! -e core ] ; then
 	ret=1
 fi;