]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
http: Start httpd when test=netstatic is provided.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 21 Jun 2012 16:45:17 +0000 (12:45 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 21 Jun 2012 16:45:17 +0000 (12:45 -0400)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/debugspace/www/cgi-bin/netperf
root_image/etc/init.d/rcS

index aaab158f38361f188742ed7a06dd9cdbd701f161..34811b7d0125376e63855b7847a5129b459aacc5 100755 (executable)
@@ -4,7 +4,7 @@ echo Content-type: text/html
 echo ""
 X=$(date "+%s")
 eval $QUERY_STRING
-/netperf -H $H -l $L
+/usr/bin/netperf -H $H -l $L
 Y=$(date "+%s")
 echo $X $Y
 
index 31173a3031629622869ab99bffcaf3807dadbbde..83825f2b70f51081af7550628d6b008a7a855646 100755 (executable)
@@ -147,6 +147,7 @@ if [ $? == 0 ]; then
                        ;;
                netstatic)
                        netserver &
+                       /usr/sbin/httpd -h /www &
                        ;;
                benchmark)
                        if [ -e /test ]; then