log-parser: add simple test scripts for libtorrent and tribler
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 23 Apr 2010 15:36:33 +0000 (18:36 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 23 Apr 2010 15:36:33 +0000 (18:36 +0300)
ppf/log-parser/generic/libtorrent_parser_test [new file with mode: 0755]
ppf/log-parser/generic/tribler_parser_test [new file with mode: 0755]

diff --git a/ppf/log-parser/generic/libtorrent_parser_test b/ppf/log-parser/generic/libtorrent_parser_test
new file mode 100755 (executable)
index 0000000..65b79f3
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+sample=../../log-samples/libtorrent/libtorrent-status.sample.log
+
+PYTHONPATH=../../db/ python LibtorrentStatusParser.py "$sample"
diff --git a/ppf/log-parser/generic/tribler_parser_test b/ppf/log-parser/generic/tribler_parser_test
new file mode 100755 (executable)
index 0000000..f132501
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+sample=../../log-samples/tribler/status_sample.out
+
+PYTHONPATH=../../db/ python TriblerStatusParser.py "$sample"