File: t01

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 (9 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/sh
TESTFILE=${TMPDIR:-/tmp}/scrub-testfile.$$
rm -f $TESTFILE
./pad 5g $TESTFILE || exit 1
size=`./tsize $TESTFILE` || exit 1
test $size = 5368709120  || exit 1
$PATH_SCRUB -r -T $TESTFILE 2>&1|sed -e "s!${TESTFILE}!file!" >t01.out || exit 1
test -f $TESTFILE && exit 1
diff t01.out t01.exp >t01.diff