File: control

package info (click to toggle)
forensics-extra 2.60
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: sh: 360; makefile: 19
file content (34 lines) | stat: -rw-r--r-- 1,748 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# forensics-extra is a metapackage only and will install several packages
# from the main section. The main goal is to verify if forensics-extra is
# installing all proposed packages without errors. The same for
# forensics-extra-gui. So, the current CI test already checks all functions
# of the package and provides a perfect vision of the possible issues.
# Consequently, this test must not be set as "superficial" because it is
# a full CI test and is desirable have this package in testing all time
# if possible. Salsa will run weekly tests over this package.

Test-Command: echo "Forcing to install all forensics-extra suite"
Depends: forensics-extra

Test-Command: echo "Forcing to install all forensics-extra-gui suite"
Depends: forensics-extra-gui

# Testing if packages from Recommends and Suggests fields are present in Debian
# flaky: some packages maybe not present outside of Sid
Test-Command: apt-get install -s $(cat list-of-packages-extra |
                egrep '(FER|FGR|FES|FGS)' | cut -d" " -f1 | egrep '^[a-z0-9]')
Depends:
Restrictions: flaky
Architecture: amd64

# Testing if any package from forensics-extra must be forensics-extra-gui
# flaky: some packages maybe not present outside of Sid
# Ignoring guestfs-tools, inxi, png-definitive-guide, sipvicious
Test-Command: for i in $(cat list-of-packages-extra | egrep '(FED|FER|FES)' | cut -d" " -f1 | egrep '^[a-z0-9]' | egrep -v '(guestfs-tools|inxi|png-definitive-guide|sipvicious)');
              do echo $i; apt-get -s install $i |
                 egrep '(libqt5|libqt6|libgtk| tk | tk[0-9]|x11-utils)'
                   && { echo "ERROR: $i appears to be a GUI program."; exit 1; }
                   || true; done
Depends:
Restrictions: flaky
Architecture: amd64