anchor.diff:        ensureNoPartition("vdc1");
       };
   
  -    subtest "btrfs filesystem", sub {
  +    parttest "btrfs filesystem", sub {
         kickstart("${ksBtrfs}");
         ensurePartition("swap1", "swap");
         ensurePartition("swap2", "swap");
  
positive.code:       $machine->succeed("test ! -e /dev/$_[0]");
      }
  
      subtest "ext2, ext3 and ext4 filesystems", sub {
        kickstart("${ksExt}");
        ensurePartition("boot", "ext2");
        ensurePartition("swap", "swap");
  
negative.code:   };
  
    testScript = ''
      my $diskStart;
  
      sub parttest {
        my ($desc, $code) = @_;
        $machine->start;
        $machine->waitForUnit("default.target");
        $diskStart = $machine->succeed("dd if=/dev/vda bs=512 count=1");
        subtest($desc, $code);
        $machine->shutdown;
      }
  
      sub ensureSanity {
        # Check whether the filesystem in /dev/vda is still intact
  