From 5f9ca65437e1cd3986adac0f54f98e4aa52393ce Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 8 Nov 2013 19:26:25 +0100 Subject: [PATCH] test_sru tests against local yaz-test --- test/Makefile.am | 3 +- test/sru-gbv.de.xml | 31 ------ test/sru_service.xml | 22 ++++ test/test_sru.cfg | 26 +---- test/test_sru.sh | 58 +++++++--- test/test_sru.urls | 8 +- test/test_sru_1.res | 3 + test/test_sru_2.res | 2 + test/test_sru_3.res | 285 ++++++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 360 insertions(+), 78 deletions(-) delete mode 100644 test/sru-gbv.de.xml create mode 100644 test/sru_service.xml mode change 100644 => 100755 test/test_sru.sh create mode 100644 test/test_sru_1.res create mode 100644 test/test_sru_2.res create mode 100644 test/test_sru_3.res diff --git a/test/Makefile.am b/test/Makefile.am index 4bf29e0..329e4e3 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -4,7 +4,7 @@ solr_tests = test_solr.sh test_termlist_block.sh test_limit_limitmap.sh test_sort.sh check_SCRIPTS = test_http.sh test_icu.sh test_post.sh \ test_settings.sh test_turbomarcxml.sh test_facets.sh \ - test_url.sh test_filter.sh test_tmarc.sh + test_url.sh test_filter.sh test_tmarc.sh test_sru.sh EXTRA_DIST = run_pazpar2.sh marc21_test.xsl tmarc.xsl solr-pz2.xsl \ z3950_indexdata_com_marc.xml \ @@ -32,6 +32,7 @@ EXTRA_DIST = run_pazpar2.sh marc21_test.xsl tmarc.xsl solr-pz2.xsl \ test_limit_limitmap_settings_5.xml \ ztest_localhost_settings.xml test_termlist_block_settings_2.xml \ test_facets_settings_1.xml test_facets_settings_2.xml \ + sru_service.xml \ $(check_SCRIPTS) TESTS = $(check_SCRIPTS) diff --git a/test/sru-gbv.de.xml b/test/sru-gbv.de.xml deleted file mode 100644 index fa6459c..0000000 --- a/test/sru-gbv.de.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/test/sru_service.xml b/test/sru_service.xml new file mode 100644 index 0000000..f09e969 --- /dev/null +++ b/test/sru_service.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/test/test_sru.cfg b/test/test_sru.cfg index 3b4413e..326ae2a 100644 --- a/test/test_sru.cfg +++ b/test/test_sru.cfg @@ -3,33 +3,9 @@ - - - - - - - - - - - - - - - - - - - + - - - - -