summaryrefslogtreecommitdiffstats
path: root/tests/scripts/repair-test
blob: c164e6e5ae34d5c9833c79f405b5625ff93311d4 (plain)
1
2
3
4
5
6
7
8
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