summaryrefslogtreecommitdiff
path: root/test/TEST-12-RAID-DEG/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-12-RAID-DEG/test.sh')
-rwxr-xr-xtest/TEST-12-RAID-DEG/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
index 1b5e7562..3eabbd59 100755
--- a/test/TEST-12-RAID-DEG/test.sh
+++ b/test/TEST-12-RAID-DEG/test.sh
@@ -55,7 +55,7 @@ test_run() {
test_setup() {
# Create the blank file to use as a root filesystem
- rm -f $TESTDIR/root.ext2
+ rm -f -- $TESTDIR/root.ext2
dd if=/dev/null of=$TESTDIR/root.ext2 bs=1M seek=40
dd if=/dev/null of=$TESTDIR/disk1.img bs=1M seek=20
dd if=/dev/null of=$TESTDIR/disk2.img bs=1M seek=20
@@ -100,7 +100,7 @@ test_setup() {
-m "dash crypt lvm mdraid udev-rules base rootfs-block kernel-modules" \
-d "piix ide-gd_mod ata_piix ext2 sd_mod" \
-f $TESTDIR/initramfs.makeroot $KVERSION || return 1
- rm -rf $TESTDIR/overlay
+ rm -rf -- $TESTDIR/overlay
# Invoke KVM and/or QEMU to actually create the target filesystem.
$testdir/run-qemu \
-hda $TESTDIR/root.ext2 \