xref: /aosp_15_r20/external/e2fsprogs/tests/scripts/repair-test (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1#!/bin/sh
2for T in "$*"; do
3	[ -f "$T.failed" -a -d "$T" ] ||
4		{ echo "usage: $0 <test_to_repair>"; exit 1; }
5
6	cp $T.1.log $T/expect.1
7	cp $T.2.log $T/expect.2
8	./test_one $T
9done
10