From 7db54be1affd06d6fc6eb7a7454a117f5fb25d00 Mon Sep 17 00:00:00 2001 From: Jan Scotka Date: Tue, 24 May 2016 14:20:47 +0200 Subject: [PATCH] added simple tomcat test --- testcases/client-server/tomcat/client | 3 +++ testcases/client-server/tomcat/deps | 2 ++ testcases/client-server/tomcat/server | 6 ++++++ 3 files changed, 11 insertions(+) create mode 100755 testcases/client-server/tomcat/client create mode 100755 testcases/client-server/tomcat/deps create mode 100755 testcases/client-server/tomcat/server diff --git a/testcases/client-server/tomcat/client b/testcases/client-server/tomcat/client new file mode 100755 index 0000000..3b442c3 --- /dev/null +++ b/testcases/client-server/tomcat/client @@ -0,0 +1,3 @@ +#!/bin/bash -e + +exec curl $DESTINATION:8080 diff --git a/testcases/client-server/tomcat/deps b/testcases/client-server/tomcat/deps new file mode 100755 index 0000000..a30bc89 --- /dev/null +++ b/testcases/client-server/tomcat/deps @@ -0,0 +1,2 @@ +tomcat +tomcat-webapps diff --git a/testcases/client-server/tomcat/server b/testcases/client-server/tomcat/server new file mode 100755 index 0000000..bb6f239 --- /dev/null +++ b/testcases/client-server/tomcat/server @@ -0,0 +1,6 @@ +#!/bin/bash -e + +mkdir -p /run/fedora-networking +cd /run/fedora-networking + +exec /usr/libexec/tomcat/server start