summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/test/store-python/server-test
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-04 07:31:23 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-04-04 07:31:23 +0000
commit74684a07395ea564197d630bd26298050bcda252 (patch)
tree59e1dbf3a210a373e836efaa4418b3f3cc0ddfee /sca-cpp/trunk/test/store-python/server-test
parent6fcc4a33796196026b325e410dbdee68d5aa757d (diff)
Use curl configured at build time instead of curl found on system path.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@930634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/test/store-python/server-test')
-rwxr-xr-xsca-cpp/trunk/test/store-python/server-test4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-cpp/trunk/test/store-python/server-test b/sca-cpp/trunk/test/store-python/server-test
index 64315d7d92..d2013f6892 100755
--- a/sca-cpp/trunk/test/store-python/server-test
+++ b/sca-cpp/trunk/test/store-python/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=$?