File: t09

package info (click to toggle)
scrub 2.4.1-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 984 kB
  • sloc: sh: 3,775; ansic: 2,544; makefile: 45
file content (13 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# This is a special test to be run on the author's test systems.

EXPFILE=t09-`hostname`.exp
TESTDEV=/dev/scrub-testdisk
test -f $EXPFILE || exit 0
if ! test -b $TESTDEV && ! test -c $TESTDEV; then
    echo $TESTDEV is unavailable >&2
    exit 1
fi
$PATH_SCRUB -T $TESTDEV >t09.out 2>&1 || exit 1
diff $EXPFILE t09.out >t09.diff