File: bug790422

package info (click to toggle)
dose3 7.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,276 kB
  • sloc: ml: 25,053; python: 605; perl: 391; sh: 347; makefile: 187
file content (17 lines) | stat: -rwxr-xr-x 318 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# debian bug 790422: accept empty input file

set -e

this=dose-debcheck
indir=debian/tests/repos
outdir=${ADT_ARTIFACTS}/${this}
mkdir -p ${outdir}

packfile=/dev/null
base=$(basename $packfile)

dose-debcheck ${packfile} 2> /dev/null \
    | tee ${outdir}/${base}.out \
    | grep -q "broken-packages: 0"