Comment 1 for bug 581805

Revision history for this message
flashydave (dave-opensourcesolutions) wrote :

This may be because building the packages from source fails (on my 64 bit system) within test/rtpw_test.sh.
I had to make the following changes to get it to succeed.

a) Added a sleep 1 to prevent killall killing the receiver process immediately after it was created (even though this was done on a subsequent script line)
b) Added ax flags to the ps command as under fakeroot the receiver and sender tasks werent reported by ps on its own.
c) Added a -q in the killall to tidy up the output.

a) and b) were both rather strange faults.

Anway this is the patch:

--- srtp_1.4.4~dfsg.orig/test/rtpw_test.sh 2006-06-13 16:17:57.000000000 +0100
+++ srtp_1.4.4~dfsg-3/test/rtpw_test.sh 2010-05-18 15:22:10.000000000 +0100
@@ -6,3 +6,3 @@

-RTPW=rtpw
+RTPW=./rtpw
 DEST_PORT=9999
@@ -20,3 +20,4 @@

-killall rtpw 2&>/dev/null
+killall -q rtpw 2&>/dev/null
+sleep 1

@@ -35,3 +36,3 @@
 # verify that the background job is running
-ps | grep -q $receiver_pid
+ps ax | grep -q $receiver_pid
 retval=$?
@@ -50,5 +51,4 @@
 echo $0 ": sender PID = $sender_pid"
-
 # verify that the background job is running
-ps | grep -q $sender_pid
+ps ax | grep -q $sender_pid
 retval=$?