anchor.diff:    };
   
     testScript = ''
  -    startAll;
  -    $machine->waitForUnit("default.target");
  -    my $diskStart = $machine->succeed("dd if=/dev/vda bs=512 count=1");
  +    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
  
positive.code:       ensureNoPartition("vdc3");
      };
  
      subtest "RAID1 with XFS", sub {
        kickstart("${ksRaid}");
        ensurePartition("swap1", "swap");
        ensurePartition("swap2", "swap");
  
negative.code:       ensureNoPartition("md2");
      };
  
      parttest "RAID1 with LUKS and LVM", sub {
        kickstart("${ksRaidLvmCrypt}");
        ensurePartition("/dev/vdb1", "data");
        ensureNoPartition("vdb2");
  