From 2b34ccc4719cd407a94d15db742e2d9c8e5a2b0f Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Fri, 21 Jun 2019 16:56:37 +0200 Subject: [PATCH] tests: add sort specs to avoid bogus errors --- tests/ooff/ooff.sh | 6 +++--- tests/pythonapi/simple.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/ooff/ooff.sh b/tests/ooff/ooff.sh index 4e167599..bad3e87c 100755 --- a/tests/ooff/ooff.sh +++ b/tests/ooff/ooff.sh @@ -7,9 +7,9 @@ initvariables $0 ( -recollq OpenofficeWriter_uniqueterm -recollq SoffTabsUnique -recollq FirstSlideUnique +recollq -S url -D OpenofficeWriter_uniqueterm +recollq -S url -D SoffTabsUnique +recollq -S url -D FirstSlideUnique ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout diff --git a/tests/pythonapi/simple.py b/tests/pythonapi/simple.py index ddb9fd2b..b337cd0b 100644 --- a/tests/pythonapi/simple.py +++ b/tests/pythonapi/simple.py @@ -17,6 +17,7 @@ def utf8string(s): db = recoll.connect() query = db.query() +query.sortby("url") nres = query.execute("huniique", stemlang="english") qs = "Xapian query: [%s]" % query.getxquery() print(utf8string(qs))