X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=tests%2Fscripts%2Frepair-test;fp=tests%2Fscripts%2Frepair-test;h=c164e6e5ae34d5c9833c79f405b5625ff93311d4;hb=5aa781e24b9ce22049c8542daaf47a05027a1179;hp=0000000000000000000000000000000000000000;hpb=933bb7f7af88fe810bfd3a931d1a87e92826c174;p=tools%2Fe2fsprogs.git 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 "; exit 1; } + + cp $T.1.log $T/expect.1 + cp $T.2.log $T/expect.2 + ./test_one $T +done