File: test.35

package info (click to toggle)
dupd 1.7.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 12,688 kB
  • sloc: ansic: 8,381; sh: 879; makefile: 121; perl: 58
file content (20 lines) | stat: -rwxr-xr-x 517 bytes parent folder | download
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