File: test.76

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 (49 lines) | stat: -rwxr-xr-x 1,162 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env bash

source common

DESC="scan larger files (files9)"

(cd ./files9 && cat files.tar.gz | gunzip | tar xf -)

$DUPD_CMD scan --path `pwd`/files9 -q
checkrv $?

DESC="report"
$DUPD_CMD report --cut `pwd`/files9/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.76

DESC="scan larger files HDD w/SHA512 (files9)"

$DUPD_CMD scan --path `pwd`/files9 -q --hdd --hash sha512
checkrv $?

DESC="report"
$DUPD_CMD report --cut `pwd`/files9/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.76

DESC="scan larger files HDD w/SHA1 verbose (files9)"

$DUPD_CMD scan --path `pwd`/files9 --hdd --hash sha1 -V 3 > /dev/null
checkrv $?

DESC="report"
$DUPD_CMD report --cut `pwd`/files9/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.76

DESC="scan larger files HDD w/xxHash verbose (files9)"

$DUPD_CMD scan --path `pwd`/files9 --hdd --hash xxhash -V 3 > /dev/null
checkrv $?

DESC="report"
$DUPD_CMD report --cut `pwd`/files9/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.76

(cd ./files9 && rm -f ?)

tdone