File: test.55

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 (28 lines) | stat: -rwxr-xr-x 569 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
#!/usr/bin/env bash

source common

DESC="scan(files3): large files"

if hash truncate 2>/dev/null; then
    truncate -s 2203588743 files3/fileA
    truncate -s 2203588743 files3/fileB
    truncate -s 4294967296 files3/fileC
    truncate -s 4294967296 files3/fileD
else
    echo "SKIP ${DESC} - missing truncate"
    exit 0
fi

$DUPD_CMD scan --path `pwd`/files3 -v -v > /dev/null
checkrv $?

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

check_nreport output.55

rm -f files3/file?

tdone