Commit Graph

5 Commits

Author SHA1 Message Date
Ben Swartzlander 95f2065167 Add -xe flags to shell scripts
For better debugging, add -xe flags to all the shell
scripts.

Change-Id: Ifb8ceb889c4d20d51a522e6c15d7c715f6d51e46
2017-10-27 13:39:23 -04:00
Ben Swartzlander cadc0ee391 Create a config drive to test the metadata code
Because it's not possible to test the metadata service
code in an easy way, create a config drive ISO image for
test purposes.

Also speed up the metadata code to not block while waiting
for the metadata service and to exit quickly when there is
no config drive CD present.

Change-Id: If6a5565825b67de58715e3d2de1cbf69b7f9e551
2017-01-30 19:09:43 +00:00
Ben Swartzlander d341b73a9a Support testing on Fedora
Try both flavors of the kvm binary, and test with minimal RAM.

Change-Id: I58e0024be184d55d32f21d4b16733df909fd7844
2017-01-30 10:09:31 -05:00
Ben Swartzlander 0c98cfee3e Wrap long lines
Fix bashate warning E006 by wrapping long lines.

Also make sure bashate runs on init scripts that don't end
in .sh.

Change-Id: I077a064505e6f11f61c65279a54c9b2430044bf0
2017-01-29 23:56:20 +00:00
Ben Swartzlander 5b27037d6a Add script for testing images really quickly
Change-Id: I5190e9421bdb194c264190c1383b9ed2f9c6cc0c
2017-01-28 15:25:15 +00:00