File: test.59

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

source common

DESC="scan(files7) with hard links"

(cd ./files7 && ./create_files)

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

DESC="ls with hard links"
$DUPD_CMD ls -v --path `pwd`/files7/ --cut `pwd`/files7/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.59a

DESC="ls with hard links --hardlink-is-unique"
$DUPD_CMD ls -v --hardlink-is-unique --path `pwd`/files7/ --cut `pwd`/files7/ | grep -v "Duplicate report from database" > nreport
checkrv $?
check_nreport output.59b

rm -f files7/?

tdone