summaryrefslogtreecommitdiffstats
path: root/debian/tests/control
blob: 61159eec3941948bbb0d94a9bc3678949b032153 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Test-Command: sh debian/tests/run_test_wrapper.sh
Features: test-name=run_test.sh
Depends:
 dkms,
 openssl,
 linux-headers-generic
 | linux-headers-rpi [armel]
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,
 skip-not-installable,

# install some-dkms after linux-headers
Test-Command: apt-get install -yf dkms-test-dkms && dkms status
Features: test-name=install_some-dkms_after_linux-headers
Architecture: amd64
Depends:
 dkms,
 linux-headers-generic,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,

# install linux-headers after some-dkms
Test-Command: apt-get install -yf linux-headers-generic && dkms status
Features: test-name=install_linux-headers_after_some-dkms
Architecture: amd64
Depends:
 dkms-test-dkms,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,

# install some-dkms after linux-image w/o linux-headers
Test-Command: apt-get install -yf dkms-test-dkms && dkms status
Features: test-name=install_some-dkms_after_linux-image_without_linux-headers
Architecture: amd64
Depends:
 dkms,
 linux-image-generic,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,

# install linux-image after some-dkms w/o linux-headers
Test-Command: apt-get install -yf linux-image-generic && dkms status
Features: test-name=install_linux-image_after_some-dkms_without_linux-headers
Architecture: amd64
Depends:
 dkms-test-dkms,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,

# install some-noautoinstall-dkms after linux-headers
Test-Command: apt-get install -yf dkms-noautoinstall-test-dkms && dkms status
Features: test-name=install_some-noautoinstall-dkms_after_linux-headers
Architecture: amd64
Depends:
 dkms,
 linux-headers-generic,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,

# install linux-headers after some-noautoinstall-dkms
Test-Command: apt-get install -yf linux-headers-generic && dkms status
Features: test-name=install_linux-headers_after_some-noautoinstall-dkms
Architecture: amd64
Depends:
 dkms-noautoinstall-test-dkms,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,

# 32-bit userspace with 64-bit kernel
# cf. https://bugs.debian.org/1042993
# workaround: apt-get install -yf linux-compiler-gcc-13-x86:amd64
Test-Command:
 dpkg --add-architecture amd64 &&
 apt-get update &&
 apt-get install -yf linux-headers-amd64 &&
 /usr/lib/dkms/dkms-autopkgtest dkms-test-dkms
Features: test-name=32-bit_userspace_with_64-bit_kernel
Architecture: i386
Depends:
 dkms,
Restrictions:
 allow-stderr,
 needs-root,
 breaks-testbed,
 flaky,