New tests for facets
[pazpar2-moved-to-github.git] / test / test_facets.sh
diff --git a/test/test_facets.sh b/test/test_facets.sh
new file mode 100755 (executable)
index 0000000..9633012
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+yaz-ztest -l ztest.log @:9999 & 
+ZTEST_PID=$!
+echo "ZTEST PID: $ZTEST_PID" 
+
+# Test using test_http.cfg
+${srcdir}/run_pazpar2.sh test_facets
+
+kill $ZTEST_PID
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End: