summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/url/dotest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/url/dotest.sh')
-rwxr-xr-xsearchlib/src/tests/url/dotest.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/searchlib/src/tests/url/dotest.sh b/searchlib/src/tests/url/dotest.sh
new file mode 100755
index 00000000000..f7ac1fd1e69
--- /dev/null
+++ b/searchlib/src/tests/url/dotest.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+# Run test
+echo "Testing the FastS_URL class..."
+$VALGRIND ./searchlib_testurl_app
+if [ $? -eq 0 ]; then
+ echo "SUCCESS: Test on FastS_URL passed!"
+else
+ echo "FAILURE: Test on FastS_URL failed!"
+ exit 1
+fi
+exit 0