-static int check_srw_sortkeys_to_sort_spec(const char *arg,
- const char *expected_result)
+static int srw_sortkeys(const char *arg, const char *expected_result) {
+ return strategy_sortkeys(arg, expected_result, yaz_sort_spec_to_srw_sortkeys);
+}
+
+static int solr_sortkeys(const char *arg, const char *expected_result) {
+ return strategy_sortkeys(arg, expected_result, yaz_sort_spec_to_solr_sortkeys);
+}
+
+
+
+static int check_sortkeys_to_sort_spec(const char *arg,
+ const char *expected_result, int (*sort_strategy)(const char *, WRBUF))