File: test-package-show-info

package info (click to toggle)
dh-python 6.20250414
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,560 kB
  • sloc: python: 5,209; makefile: 575; perl: 249; sh: 35
file content (16 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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"
done
echo "--------------------------------------------------"