1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/env bash
source common
DESC="scan(files7) with hard links"
(cd ./files7 && ./create_files)
$DUPD_CMD scan --path `pwd`/files7 -q
checkrv $?
DESC="file with hard links"
$DUPD_CMD file -v --file `pwd`/files7/1 --cut `pwd`/files7/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.62a
DESC="file with hard links --hardlink-is-unique"
$DUPD_CMD file -v --hardlink-is-unique --file `pwd`/files7/1 --cut `pwd`/files7/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.62b
rm -f files7/?
tdone
|