summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-cluster/server-test
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster/server-test')
-rwxr-xr-xsca-cpp/trunk/samples/store-cluster/server-test7
1 files changed, 3 insertions, 4 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/server-test b/sca-cpp/trunk/samples/store-cluster/server-test
index 7f6ff4ead6..68856f530e 100755
--- a/sca-cpp/trunk/samples/store-cluster/server-test
+++ b/sca-cpp/trunk/samples/store-cluster/server-test
@@ -17,6 +17,9 @@
# specific language governing permissions and limitations
# under the License.
+# For this test to work, add the test domain to your etc/hosts as follows:
+# 127.0.0.1 sca-store.com joe.sca-store.com joe.sca-store.com
+
echo "Testing..."
here=`readlink -f $0`; here=`dirname $here`
curl_prefix=`cat $here/../../modules/http/curl.prefix`
@@ -25,10 +28,6 @@ curl_prefix=`cat $here/../../modules/http/curl.prefix`
./start
sleep 2
-# For this test to work, add the test domain to your etc/hosts as follows:
-# 127.0.0.1 sca-store.com joe.sca-store.com joe.sca-store.com
-# then run ../../ubuntu/ip-redirect-all 80 8091
-
# Test HTTP GET
$curl_prefix/bin/curl http://joe.sca-store.com/ 2>/dev/null >tmp/index.html
diff tmp/index.html htdocs/domains/joe/index.html