summaryrefslogtreecommitdiffstats
path: root/tests/scripts/repair-test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/repair-test')
-rwxr-xr-xtests/scripts/repair-test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scripts/repair-test b/tests/scripts/repair-test
new file mode 100755
index 0000000..c164e6e
--- /dev/null
+++ b/tests/scripts/repair-test
@@ -0,0 +1,9 @@
+#!/bin/sh
+for T in "$*"; do
+ [ -f "$T.failed" -a -d "$T" ] ||
+ { echo "usage: $0 <test_to_repair>"; exit 1; }
+
+ cp $T.1.log $T/expect.1
+ cp $T.2.log $T/expect.2
+ ./test_one $T
+done