From 5f739e1e7565f1291fae8c2dc46d279db202accd Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 18 Jan 2016 10:44:21 -0500 Subject: 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. --- test/createinstance.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/createinstance.sh') 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 -- cgit