--- a/tests/rfc2231/rfc2231.sh
+++ b/tests/rfc2231/rfc2231.sh
@@ -6,11 +6,16 @@
initvariables $0
# These one are name/filenamefor an inline part, no result
-recollq EnerveUniqueNameTerm > $mystdout 2> $mystderr
-recollq EnerveUniqueFileNameTerm >> $mystdout 2>> $mystderr
+recollq EnerveUniqueNameTerm 2> $mystderr |
+ egrep -v '^Recoll query: ' > $mystdout
+
+recollq EnerveUniqueFileNameTerm 2>> $mystderr |
+ egrep -v '^Recoll query: ' >> $mystdout
# This one for actual attachment
-recollq EpatantUniquenameterm >> $mystdout 2>> $mystderr
-recollq EpatantUniquefilenameterm >> $mystdout 2>> $mystderr
+recollq EpatantUniquenameterm 2>> $mystderr |
+ egrep -v '^Recoll query: ' >> $mystdout
+recollq EpatantUniquefilenameterm 2>> $mystderr |
+ egrep -v '^Recoll query: ' >> $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1