[PATCH] Add a basic test for ostree-based installs.

Vratislav Podzimek vpodzime at redhat.com
Tue Jul 8 12:36:29 UTC 2014


On Mon, 2014-07-07 at 14:53 -0400, Chris Lumens wrote:
> I'm looking for comments on the attached patch.  It allows for running
> anaconda in a VM through livemedia-creator to do an ostree-based install.
> Right now there is no verification of anything about contents of the installed
> system - it's assumed that a completed install is good enough.  It also
> doesn't do a very good job of cleanup.  Here's what I'm wondering:
> 
> (1) Is there some additional way that I should verify success besides just
>     whether the installation completed?  For instance, should I check for
>     certain files on the finished system?
> 
> (2) Are there other aspects of ostree+anaconda that need to be tested?
> 
> (3) I'm building up a collection of tests that require being root to run
>     (this, storage, GUI).  Perhaps there's some better way to iterate through
>     all the root-only tests than just calling them individually?
Just a quick thought that came to my mind -- what about doing it "the
systemd way" and create a directory "root-only-test" symlinking such
tests? 

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list