]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
test/TEST-01-BASIC/test.sh: fix cleanup of overlay dir
authorHarald Hoyer <harald@redhat.com>
Mon, 7 May 2012 14:32:28 +0000 (16:32 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 May 2012 14:32:28 +0000 (16:32 +0200)
test/TEST-01-BASIC/test.sh

index 61871441df0710ad65147637013b44eb8ae73f35..36d269396c2b7f84a33705c7dcf0163bf771f2e6 100755 (executable)
@@ -61,7 +61,7 @@ test_setup() {
        -d "piix ide-gd_mod ata_piix ext3 sd_mod" \
         --nomdadmconf \
        -f $TESTDIR/initramfs.makeroot $KVERSION || return 1
-    rm -rf overlay
+    rm -rf $TESTDIR/overlay
     # Invoke KVM and/or QEMU to actually create the target filesystem.
 
     $testdir/run-qemu \