summaryrefslogtreecommitdiffstats
path: root/test/createinstance.sh
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2016-01-18 10:44:21 -0500
committerRob Crittenden <rcritten@redhat.com>2016-01-19 14:32:26 -0500
commit5f739e1e7565f1291fae8c2dc46d279db202accd (patch)
treea9af3e4ca4bf31d77cafdf3184d2531b55003c37 /test/createinstance.sh
parent9bcb9cef16895061d9de48b25b85c66f0ab17223 (diff)
Add basic reverse proxy test case (over Internet)
Fetches https://www.google.com and just looks for a 200 response. This adds implicit requirement that the test machine has Internet access so I might have to remove this eventually, but it at least exercises that code in a positive test case.
Diffstat (limited to 'test/createinstance.sh')
-rwxr-xr-xtest/createinstance.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/createinstance.sh b/test/createinstance.sh
index cc76671..e32c628 100755
--- a/test/createinstance.sh
+++ b/test/createinstance.sh
@@ -53,6 +53,16 @@ mkdir run
mkdir cgi-bin
mkdir lib
+if [ -e /usr/lib64/libnssckbi.so ]; then
+ cd alias
+ ln -s /usr/lib64/libnssckbi.so .
+ cd ..
+elif [ -e /usr/lib/libnssckbi.so ]; then
+ cd alias
+ ln -s /usr/lib/libnssckbi.so .
+ cd ..
+fi
+
touch conf.d/empty.conf
# Create the content directories