File: test-package-show-info

package info (click to toggle)
dh-python 7.20251231
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: python: 6,487; makefile: 605; perl: 251; sh: 36
file content (17 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -ue

changes=$1
testname=$(basename $PWD)
basedir=$(dirname $changes)

echo "--------------------------------------------------"
echo "Test $testname has created the following packages:"
for deb in $(sed -nr 's/.* ([^ ]*\.deb)$/\1/p' $changes | sort -u); do
    echo "--------------------------------------------------"
    echo "PACKAGE $deb:"
    dpkg-deb --info "$basedir/$deb"
    dpkg-deb --contents "$basedir/$deb"
done
echo "--------------------------------------------------"