[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 662: Revert revision 653

Message ID 20130829232929.29769.34241.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Tyler Baker Aug. 29, 2013, 11:29 p.m.
Merge authors:
  Tyler Baker (tyler-baker)
Related merge proposals:
  https://code.launchpad.net/~tyler-baker/lava-dispatcher/revert-rev653/+merge/182944
  proposed by: Tyler Baker (tyler-baker)
  review: Approve - Antonio Terceiro (terceiro)
------------------------------------------------------------
revno: 662 [merge]
committer: Tyler Baker <tyler.baker@linaro.org>
branch nick: lava-dispatcher-tip
timestamp: Thu 2013-08-29 16:28:28 -0700
message:
  Revert revision 653
modified:
  lava_test_shell/lava-test-runner


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava_test_shell/lava-test-runner'
--- lava_test_shell/lava-test-runner	2013-08-28 14:55:50 +0000
+++ lava_test_shell/lava-test-runner	2013-08-29 16:03:11 +0000
@@ -51,23 +51,15 @@ 
 echo "${PREFIX} looking for installation work in ${WORKFILE}"
 for line in $(cat ${WORKFILE}); do
 	test=`basename $line`
-        echo "${PREFIX} Check if network interface is up ..."
 	if [ -f ${line}/install.sh ] ; then
-            /bin/ping -W1 -c1 8.8.8.8
-            if [ $? -ne 0 ] ; then
-                echo "${PREFIX} WARNING: Network interface is down. Dependencies will not be installed."
-		hwcontext
-		swcontext
-                exit 1
-            fi
-	    echo "${PREFIX} running ${test} installer ..."
-	    /bin/sh ${line}/install.sh
-	    if [ $? -ne 0 ] ; then
-		echo "${PREFIX} ${test} installer failed, exiting"
-		hwcontext
-		swcontext
-		exit 1
-	    fi
+		echo "${PREFIX} running ${test} installer ..."
+		/bin/sh ${line}/install.sh
+		if [ $? -ne 0 ] ; then
+			echo "${PREFIX} ${test} installer failed, exiting"
+			hwcontext
+			swcontext
+			exit 1
+		fi
 	fi
 done