summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/test/store-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/test/store-cpp')
-rwxr-xr-xsca-cpp/trunk/test/store-cpp/server-test4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-cpp/trunk/test/store-cpp/server-test b/sca-cpp/trunk/test/store-cpp/server-test
index 64315d7d92..d2013f6892 100755
--- a/sca-cpp/trunk/test/store-cpp/server-test
+++ b/sca-cpp/trunk/test/store-cpp/server-test
@@ -18,13 +18,15 @@
# under the License.
echo "Testing..."
+here=`readlink -f $0`; here=`dirname $here`
+curl_prefix=`cat $here/../../modules/http/curl.prefix`
# Setup
./start
sleep 2
# Test HTTP GET
-curl http://localhost:8090/store.html 2>/dev/null >tmp/store.html
+$curl_prefix/bin/curl http://localhost:8090/store.html 2>/dev/null >tmp/store.html
diff tmp/store.html htdocs/store.html
rc=$?