Utils-eurocon: add script to create all output files
[p2p-testing-infrastructure.git] / Utils / test-socket-signal / test / process / do_all_ok
diff --git a/Utils/test-socket-signal/test/process/do_all_ok b/Utils/test-socket-signal/test/process/do_all_ok
new file mode 100755 (executable)
index 0000000..ee92907
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+#
+# concatenate files and extrac irrelevant data
+#
+
+for base in "if" "stop" "suspend"; do
+    cat $base-*.txt | ./inactive_timespan_drop_irrelevant | sort -n -k 1 -k 2 > ok-$base-all.txt
+done