integration-tests/30dh-sequence
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 'dh-sequence-builtusing, 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 | ' > debian/rules |
| 21 | chmod +x debian/rules |
| 22 | |
| 23 | debian/rules binary |
| 24 | |
| 25 | check_control foo dpkg |