5cb1fa5460
Having to prepare RPMs in advance separately from the tests that use them severely limits our ability to test various cases and to iterate quickly when creating tests. Add a new `build_rpm` function which can basically build the RPM on the fly and update the yum repo afterwards. It makes it trivial to test things like package updates: build_rpm foo 1.0 1 <stuff> build_rpm foo 1.0 2 <stuff> The RPMs are all created inside the temporary test directory and thus cleaned up on exit. I'm doing this in a separate commit because it's the most important diff of the transition and might be easy to lose in the larger diff where we move all the tests to make use of this. Closes: #854 Approved by: cgwalters |
||
---|---|---|
.. | ||
compose | ||
libtest-core.sh | ||
libtest.c | ||
libtest.h | ||
libtest.sh | ||
libvm.sh |