| 1 | #!/bin/bashscip-shell filesystem . . `/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 | [scip-shell system . . `[`. "$(./cowbuilder --dumpconfig --configfile ${CONFIGFILE} | grepscip-shell system . . grep. debbuildopts:)" = \ |
| 10 | " debbuildopts: -j2 -I" ] |
| 11 | |
| 12 | [scip-shell system . . `[`. "$(./cowbuilder --dumpconfig --configfile ${CONFIGFILE} | grepscip-shell system . . grep. kernel_image:)" = \ |
| 13 | " kernel_image: /boot/vmlinuz-x.y.z" ] |