diff options
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-test')
-rwxr-xr-x | sca-cpp/trunk/modules/http/httpd-test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-test b/sca-cpp/trunk/modules/http/httpd-test index ca6b3e19a1..a3b9145871 100755 --- a/sca-cpp/trunk/modules/http/httpd-test +++ b/sca-cpp/trunk/modules/http/httpd-test @@ -18,6 +18,8 @@ # under the License. echo "Testing..." +here=`readlink -f $0`; here=`dirname $here` +curl_prefix=`cat $here/../http/curl.prefix` # Setup ./httpd-conf tmp localhost 8090 htdocs @@ -25,7 +27,7 @@ echo "Testing..." sleep 2 # Test HTTP GET -curl http://localhost:8090/index.html 2>/dev/null >tmp/index.html +$curl_prefix/bin/curl http://localhost:8090/index.html 2>/dev/null >tmp/index.html diff tmp/index.html htdocs/index.html rc=$? |