Debian Codegraph @

unit-tests/70multiarch

raw
1 #!/bin/sh
2
3 {
4 fake_control_header 'dpkg-dev, gcc, libc6, make'
5
6 fake_control_package no all '${dh-builtusing:gcc}'
7 fake_control_package foreign all '${dh-builtusing:dpkg-dev}'
8 fake_control_package same all '${dh-builtusing:libc6}'
9 fake_control_package allowed all '${dh-builtusing:make}'
10
11 } > debian/control
12
13 $tested_command
14
15 check_substvar no gcc gcc-defaults
16 check_substvar foreign dpkg-dev dpkg
17 check_substvar same libc6 glibc
18 check_substvar allowed make make-dfsg
19
20 dh_gencontrol
21
22 check_control no gcc-defaults
23 check_control foreign dpkg
24 check_control same glibc
25 check_control allowed make-dfsg