Debian Codegraph @

unit-tests/90c-option

raw
1 #!/bin/sh
2
3 {
4 fake_control_header dpkg-dev
5
6 fake_control_package foo all ''
7
8 } > debian/control
9
10 {
11 fake_control_header dpkg-dev
12
13 fake_control_package foo all '${dh-builtusing:dpkg-dev}'
14
15 } > debian/control2
16
17 # A deprecation warning is expected on stderr, hide it to autopkgtest.
18 $tested_command -cdebian/control2 2>&1
19
20 check_substvar foo dpkg-dev dpkg
21
22 dh_gencontrol -- -cdebian/control2
23
24 check_control foo dpkg