]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: update aks-partition-number dialog (planned regression)
authorKarel Zak <kzak@redhat.com>
Mon, 11 Mar 2013 15:15:36 +0000 (16:15 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Mar 2013 15:15:36 +0000 (16:15 +0100)
Since 2.23 the fdisk ask-partition-number dialog don't ask for
partition number if there is only one partition. This was default in
DOS driver, now it's default everywhere.

For Sun/BSD it's regression... but we don't want to maintain any extra
code --- sorry --- we don't want any exception in the code.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/fdisk/sunlabel

index e1ce4f482ba9f2cd43f6fb072a29552057f4e02a..19bfd22e4f40c3063adbc5271741301b82181767 100755 (executable)
@@ -27,7 +27,7 @@ FDISK_CMD_DELETEALL="d\n1\nd\n2\nd\n3\nd\n4\nd\n5\nd\n6\nd\n7\nd\n8\n" # delete
 FDISK_CMD_CREATE_PRIMARY="n\n1\n0\n128\n" # create first partition, cylinders 0 through 128
 FDISK_CMD_TOGGLE_READONLY="a\n1\n" # sets first partition as read-only
 FDISK_CMD_TOGGLE_MOUNTABLE="c\n1\n" # sets first partition as mountable
-FDISK_CMD_CHANGE_SYSID="t\n1\n4\n" # changes sysid to 4 (SunOS usr)
+FDISK_CMD_CHANGE_SYSID="t\n4\n" # changes sysid to 4 (SunOS usr)
 FDISK_CMD_CREATE_SECONDARY="n\n2\n128\n\n" # create secondary partition cylinders 128 to the end of disk
 
 #set -x