support yet another webserver in the integration tests: gatling
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 15 Aug 2011 16:23:54 +0000 (18:23 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 15 Aug 2011 16:23:54 +0000 (18:23 +0200)
test/integration/framework

index fa451cf4f3c2c7cfa988efb43688090254ae3f3f..ccab010e6bc2a32758a8fb79228c8f3977d01446 100644 (file)
@@ -612,6 +612,11 @@ changetowebserver() {
        if which weborf > /dev/null; then
                weborf -xb aptarchive/ 2>&1 > /dev/null &
                addtrap "kill $!;"
+       elif which gatling > /dev/null; then
+               cd aptarchive
+               gatling -p 8080 -F -S 2>&1 > /dev/null &
+               addtrap "kill $!;"
+               cd - > /dev/null
        elif which lighttpd > /dev/null; then
                echo "server.document-root = \"$(readlink -f ./aptarchive)\"
 server.port = 8080