| 1 | #!/bin/bash |
| 2 | # check cowbuilder command-line parsing, for debbuildopts. |
| 3 | # |
| 4 | # Do not yet check for failure or success because it's broken right now. |
| 5 | set -ex |
| 6 | |
| 7 | CONFIGFILE=tests/102_test_cowbuilder_debbuildopts.config |
| 8 | |
| 9 | [ "$(./cowbuilder --dumpconfig --configfile ${CONFIGFILE} | grep debbuildopts:)" = \ |
| 10 | " debbuildopts: -j2 -I" ] |
| 11 | |
| 12 | [ "$(./cowbuilder --dumpconfig --configfile ${CONFIGFILE} | grep kernel_image:)" = \ |
| 13 | " kernel_image: /boot/vmlinuz-x.y.z" ] |