Debian Codegraph @

integration-tests/10execute-before-dh-gencontrol

raw
1 #!/bin/sh
2
3 . ./test_helper.sh
4
5 mkdir -p "$AUTOPKGTEST_TMP/pkg/debian"
6 cd "$AUTOPKGTEST_TMP/pkg"
7
8 fake_changelog > debian/changelog
9
10 {
11 fake_control_header dpkg-dev
12
13 fake_control_package foo all '${dh-builtusing:dpkg-dev}'
14
15 } > debian/control
16
17 echo '#!/usr/bin/make -f
18 %:
19 dh $@
20 execute_before_dh_gencontrol:
21 dh_builtusing
22 ' > debian/rules
23 chmod +x debian/rules
24
25 debian/rules binary
26
27 check_control foo dpkg