[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/5] Fix loop test
From: |
Phillip Susi |
Subject: |
[PATCH 4/5] Fix loop test |
Date: |
Fri, 16 Dec 2011 23:05:41 -0500 |
t8001-loop-blkpg.sh relied on loop being a loadable module and loading
it with the max_part argument. This is no longer required.
Signed-off-by: Phillip Susi <address@hidden>
---
tests/t8001-loop-blkpg.sh | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/tests/t8001-loop-blkpg.sh b/tests/t8001-loop-blkpg.sh
index 20bbdf5..b3b180a 100755
--- a/tests/t8001-loop-blkpg.sh
+++ b/tests/t8001-loop-blkpg.sh
@@ -26,14 +26,6 @@ cleanup_fn_()
test -n "$loopdev" && losetup -d "$loopdev"
}
-# If the loop module is loaded, unload it first
-if lsmod | grep '^loop[[:space:]]'; then
- rmmod loop || fail=1
-fi
-
-# Insert loop module with max_part > 1
-modprobe loop max_part=7 || fail=1
-
# Create backing file
dd if=/dev/zero of=backing_file bs=1M count=4 >/dev/null 2>&1 || fail=1
--
1.7.5.4
- [PATCH 1/5] Remove loop_get_partition_range, Phillip Susi, 2011/12/16
- [PATCH 3/5] Avoid the HDIO_GETGEO when possible, Phillip Susi, 2011/12/16
- [PATCH 5/5] Try harder to clean up scsi_debug, Phillip Susi, 2011/12/16
- [PATCH 4/5] Fix loop test,
Phillip Susi <=
- Re: [PATCH 4/5] Fix loop test, Jim Meyering, 2011/12/21
- Re: [PATCH 4/5] Fix loop test, Phillip Susi, 2011/12/21
- Re: [PATCH 4/5] Fix loop test, Jim Meyering, 2011/12/21
- Re: [PATCH 4/5] Fix loop test, Phillip Susi, 2011/12/21
- Re: [PATCH 4/5] Fix loop test, Keshav P R, 2011/12/21
- Re: [PATCH 4/5] Fix loop test, Jim Meyering, 2011/12/22
- Re: [PATCH 4/5] Fix loop test, Phillip Susi, 2011/12/22
- Re: [PATCH 4/5] Fix loop test, Jim Meyering, 2011/12/23
[PATCH 2/5] Remove has_partitions check to allow loopback partitions, Phillip Susi, 2011/12/16
Re: [PATCH 1/5] Remove loop_get_partition_range, Jim Meyering, 2011/12/21