File: test.68

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 (31 lines) | stat: -rwxr-xr-x 611 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
26
27
28
29
30
31
#!/usr/bin/env bash

source common

DESC="scan -q --hdd"
$DUPD_CMD scan --path `pwd`/files -q --hdd --x-small-buffers
checkrv $?

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

check_nreport output.01

DESC="validate with SHA1"
$DUPD_CMD validate -F sha1 > /dev/null
checkrv $?

DESC="validate with SHA512"
$DUPD_CMD validate --hash sha512 > /dev/null
checkrv $?

DESC="validate with xxHash"
$DUPD_CMD validate --hash xxhash > /dev/null
checkrv $?

DESC="validate with MD5"
$DUPD_CMD validate --hash md5 > /dev/null
checkrv $?

tdone