summaryrefslogtreecommitdiff
path: root/tests/t1700-probe-fs.sh
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2014-04-17 12:12:29 -0700
committerBrian C. Lane <bcl@redhat.com>2014-04-17 14:06:51 -0700
commit33fdfa0f29d0d9c0135da6da80e6953d8f509b7b (patch)
treefb18cddeb6bd7c5013e6d9592c8abc8d1224e91a /tests/t1700-probe-fs.sh
parentbb181a7ec46f2820368359b7aba0917be089e0c5 (diff)
downloadparted-33fdfa0f29d0d9c0135da6da80e6953d8f509b7b.tar.gz
tests: t1700 change count to seek
Fix a typo when changing to sparse images. * tests/t1700-probe-fs.sh: count should be seek.
Diffstat (limited to 'tests/t1700-probe-fs.sh')
-rwxr-xr-xtests/t1700-probe-fs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t1700-probe-fs.sh b/tests/t1700-probe-fs.sh
index 08ec7d9..bf6ad9c 100755
--- a/tests/t1700-probe-fs.sh
+++ b/tests/t1700-probe-fs.sh
@@ -33,7 +33,7 @@ for type in ext2 ext3 ext4 btrfs xfs nilfs2; do
*) force=;; esac
# create an $type file system
- dd if=/dev/null of=$dev bs=$ss count=$n_sectors >/dev/null || fail=1
+ dd if=/dev/null of=$dev bs=$ss seek=$n_sectors >/dev/null || fail=1
mkfs.$type $force $dev || { warn_ $ME: mkfs.$type failed; fail=1; continue; }
# probe the $type file system
@@ -45,7 +45,7 @@ done
# Some features should indicate ext4 by themselves.
for feature in uninit_bg flex_bg; do
# create an ext3 file system
- dd if=/dev/null of=$dev bs=1024 count=4096 >/dev/null || fail=1
+ dd if=/dev/null of=$dev bs=1024 seek=4096 >/dev/null || fail=1
mkfs.ext3 -F $dev >/dev/null || skip_ "mkfs.ext3 failed"
# set the feature