rclpurple: fix for current log format

This commit is contained in:
Jean-Francois Dockes
2014-10-01 11:37:20 +02:00
parent 871eeb7b03
commit 7837558909
3 changed files with 78 additions and 21 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
recollq -S url '"Hallo friend"' date:2011-08-25
recollq -S url '"I like the G+ post you gave a"' date:2014-09-22
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult
+4
View File
@@ -0,0 +1,4 @@
1 results
text/x-purple-log [file:///home/dockes/projets/fulltext/testrecoll/purple/2011-08-25.160747+0200CEST.txt] [Conversation with 666666 at Thu 25 Aug 2011 04:07:47 PM CEST on 333333 (icq)] 316 bytes
1 results
text/x-purple-log [file:///home/dockes/projets/fulltext/testrecoll/purple/2014-09-22.104527+0200CEST.txt] [Conversation with friend at 2014-09-22T10:45:27 CEST on Hell-G/G (jabber)] 363 bytes