--- a/tests/badsuffs1/badsuffs1.sh
+++ b/tests/badsuffs1/badsuffs1.sh
@@ -4,10 +4,11 @@
 . $topdir/shared.sh
 
 initvariables $0
+(
+    # File names for files with skipped suffixes should be indexed
+    recollq -S mtime Badsufffilename 
 
-# File names for files with skipped suffixes should be indexed
-recollq Badsufffilename 2> $mystderr | 
-	egrep -v '^Recoll query: ' > $mystdout
+) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
 
 diff -w ${myname}.txt $mystdout > $mydiffs 2>&1