1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/env bash
source common
DESC="scan with --uniques matching unique size file"
# Looking for verbose output which tells us this file was unique by-size
# to make sure it hit that code path instead of just being unique by
# content (which the report diff will verify below).
$DUPD_CMD scan --path `pwd`/files2 --uniques -v -v -v | grep "Unique file (by-size)"
checkrv $?
DESC="uniques report"
$DUPD_CMD uniques --cut `pwd`/files2/ --path `pwd`/files2/ > nreport
checkrv $?
check_nreport output.35
tdone
|