nixos: Add VM test for blivet.

I'm really not sure whether these tests are actually run upstream,
because there are quite a few oddities which either are my fault by just
missing something important or upstream really doesn't bother to run
those tests.

One example of this are testDiskChunk1 and testDiskChunk2, which create
two non-existing partitions and tries to allocate them. Now, in
allocatePartitions(), the partedPartition attributes are reset to None
and shortly afterwards a for loop is expecting it to be NOT None.

So, for now I'm disabling these tests and will see if we stumble on them
during work on nixpart 1.0, so we're really sure whether it's my fault
or a real bug in blivet.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig
2014-10-22 05:50:33 +02:00
parent 16371fce91
commit cff26e2d38
3 changed files with 87 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ in buildPythonPackage rec {
six
];
# Tests in <nixos/tests/blivet.nix> coming soon.
# Tests are in <nixos/tests/blivet.nix>.
doCheck = false;
meta = {