summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-08-15 18:23:54 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-08-15 18:23:54 +0200
commit6e7d39d0f52c02c1da991554bc8f44301369fced (patch)
tree36b64810f1bcba735e18d4ab1342d1b0e934624d
parentbf5438c1904c57d5f03c58a2f7d6e972020f91f9 (diff)
downloadapt-6e7d39d0f52c02c1da991554bc8f44301369fced.tar.gz
support yet another webserver in the integration tests: gatling
-rw-r--r--test/integration/framework5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index fa451cf4f..ccab010e6 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -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