summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2013-03-11 15:35:43 +0100
committerKarel Zak2013-03-11 15:40:20 +0100
commit1aefdc35db99368ada9fadd93877fad24dcbcc34 (patch)
treeaae7b0114219b43a68b2c42fff1ecb1135cecebe
parenttests: update bsd test (diff)
downloadkernel-qcow2-util-linux-1aefdc35db99368ada9fadd93877fad24dcbcc34.tar.gz
kernel-qcow2-util-linux-1aefdc35db99368ada9fadd93877fad24dcbcc34.tar.xz
kernel-qcow2-util-linux-1aefdc35db99368ada9fadd93877fad24dcbcc34.zip
tests: fix typo in fdisk test
Signed-off-by: Karel Zak <kzak@redhat.com>
-rwxr-xr-xtests/ts/fdisk/mbr-dos-mode2
-rwxr-xr-xtests/ts/fdisk/mbr-nondos-mode2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/fdisk/mbr-dos-mode b/tests/ts/fdisk/mbr-dos-mode
index 07b20061e..713ec905f 100755
--- a/tests/ts/fdisk/mbr-dos-mode
+++ b/tests/ts/fdisk/mbr-dos-mode
@@ -31,7 +31,7 @@ FDISK_CMD_CHANGE_PARTTYPE="t\nbf\n" # change partition type to "bf - solaris", t
FDISK_CMD_SET_ACTIVE="a\n1\n" # set first partition active
FDISK_CMD_CREATE_EXTENDED="n\ne\n2\n\n+10\n" # create extended partition 2 of size 11 cylinders
FDISK_CMD_CREATE_LOGICAL="n\nl\n\n+1\n" # create next logical partition of size 2 cyl
-FDISK_CMD_DELETE_LOGICALS="d\n6\nd\n5\nd\n6\d5\n" # delete middle, head, tail, last partitions
+FDISK_CMD_DELETE_LOGICALS="d\n6\nd\n5\nd\n6\n" # delete middle, head, tail, last partitions
FDISK_CMD_DELETE_PRIMARY="d\n1\n" # delete first primary
FDISK_CMD_DELETE_EXTENDED="d\n2\n" # delete second primary
diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode
index 119d2c9ff..4df302d90 100755
--- a/tests/ts/fdisk/mbr-nondos-mode
+++ b/tests/ts/fdisk/mbr-nondos-mode
@@ -29,7 +29,7 @@ FDISK_CMD_CREATE_2PRIMARY="n\np\n\n\n+2M\n" # create primary partition of size 2
FDISK_CMD_SET_ACTIVE="a\n1\n" # set first partition active
FDISK_CMD_CREATE_EXTENDED="n\ne\n\n\n\n" # create extended partition
FDISK_CMD_CREATE_LOGICAL="n\nl\n\n+2M\n" # create next logical partition of size 10 sectors
-FDISK_CMD_DELETE_LOGICALS="d\n6\nd\n5\nd\n6\d5\n" # delete middle, head, tail, last partitions
+FDISK_CMD_DELETE_LOGICALS="d\n6\nd\n5\nd\n6\n" # delete middle, head, tail, last partitions
FDISK_CMD_DELETE_1PRIMARY="d\n1\n" # delete first primary
FDISK_CMD_DELETE_2PRIMARY="d\n2\n" # delete first primary
FDISK_CMD_DELETE_EXTENDED="d\n3\n" # delete second primary