| 1 | #!/bin/bash |
| 2 | # check qemubuilder commnad-line option parsing. |
| 3 | # |
| 4 | # Apparently, this test requires config files to exist in order not to |
| 5 | # die of error, so we need to have qemubuilder installed. |
| 6 | set -ex |
| 7 | |
| 8 | [ "$(./qemubuilder --dumpconfig --inputfile one --inputfile two | grep inputfile)" = \ |
| 9 | " inputfile[0]: one |
| 10 | inputfile[1]: two" ] |