File: test.78

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

source common

DESC="scan(files)"
$DUPD_CMD scan --path `pwd`/files -q --hdd
checkrv $?

DESC="json report"
$DUPD_CMD report --format json --cut `pwd`/files/  | tr ',' '\n' | sed -e s/\ ]$//g > nreport
checkrv $?

#
# The JSON output was split into lines above, not entirely realistic,
# but needed to have a consistent ordering to compare.

check_nreport output.78

tdone