File: test.07

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 (25 lines) | stat: -rwxr-xr-x 542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash

source common

DESC="scan(files) -q --uniques"
$DUPD_CMD scan --path `pwd`/files -V -V --uniques > /dev/null
checkrv $?

DESC="generate report"
$DUPD_CMD report --cut `pwd`/files/ | grep -v "Duplicate report from database" > nreport
checkrv $?

check_nreport output.01

DESC="refresh with many files in dup set"
$DUPD_CMD refresh -v -v -v -v > /dev/null
checkrv $?

DESC="generate report"
$DUPD_CMD report --cut `pwd`/files/ | grep -v "Duplicate report from database" > nreport
checkrv $?

check_nreport output.01

tdone