unit-tests/50same-source
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | { |
| 4 | fake_control_header 'cpp, gcc' |
| 5 | |
| 6 | fake_control_package foo all '${dh-builtusing:cpp}, ${dh-builtusing:gcc}' |
| 7 | |
| 8 | } > debian/control |
| 9 | |
| 10 | $tested_command |
| 11 | |
| 12 | check_substvar foo cpp gcc-defaults |
| 13 | check_substvar foo gcc gcc-defaults |
| 14 | |
| 15 | dh_gencontrol |
| 16 | |
| 17 | check_control foo gcc-defaults |