[Armadeus-commitlog] SF.net SVN: armadeus:[1267] trunk/target/test/packages/test_madplay.sh
Brought to you by:
sszy
|
From: <ar...@us...> - 2009-05-12 08:31:50
|
Revision: 1267
http://armadeus.svn.sourceforge.net/armadeus/?rev=1267&view=rev
Author: artemys
Date: 2009-05-12 08:31:37 +0000 (Tue, 12 May 2009)
Log Message:
-----------
[TEST] updates madplay test script
Modified Paths:
--------------
trunk/target/test/packages/test_madplay.sh
Modified: trunk/target/test/packages/test_madplay.sh
===================================================================
--- trunk/target/test/packages/test_madplay.sh 2009-05-12 07:59:28 UTC (rev 1266)
+++ trunk/target/test/packages/test_madplay.sh 2009-05-12 08:31:37 UTC (rev 1267)
@@ -28,15 +28,18 @@
# Get music
echo "Downloading file from Internet"
# Suppose that network was correctly set before
- wget http://dl.free.fr/hkaOiy3aT -O $MUSIC_FILE_NAME
+ wget http://dl.free.fr/orrXngocU -O $MUSIC_FILE_NAME
# Launch it
- $EXEC_NAME $MUSIC_FILE_NAME
+ $EXEC_NAME $MUSIC_FILE_NAME &
+ PID=$!
if [ "$?" == 0 ]; then
+ sleep 10
ask_user "Was music correctly played ? If OK say y"
if [ "$response" == "y" ]; then
echo_test_ok
exit 0
fi
+ kill $PID
fi
fi
rm -f "$MUSIC_FILE_NAME"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|