File: repair-test

package info (click to toggle)
e2fsprogs 1.47.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates
  • size: 44,040 kB
  • sloc: ansic: 132,791; sh: 7,273; makefile: 5,315; awk: 524; perl: 376; cpp: 207; sed: 186; python: 23
file content (9 lines) | stat: -rwxr-xr-x 182 bytes parent folder | download | duplicates (4)
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