]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: fixes fdisk/align-512-* tests
authorAnatoly Pugachev <matorola@gmail.com>
Mon, 23 Mar 2020 14:23:01 +0000 (17:23 +0300)
committerAnatoly Pugachev <matorola@gmail.com>
Mon, 23 Mar 2020 14:23:01 +0000 (17:23 +0300)
write 'MSDOS' partition table before test

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
tests/expected/fdisk/align-512-4K
tests/expected/fdisk/align-512-4K-63
tests/expected/fdisk/align-512-512
tests/expected/fdisk/align-512-512-topology
tests/ts/fdisk/align-512-4K
tests/ts/fdisk/align-512-4K-63
tests/ts/fdisk/align-512-512
tests/ts/fdisk/align-512-512-topology

index e6aa145c9de67fc48b3b7beec4aebc60adc603bd..26ba8ecfb0acdf9227c55d4e00160d1bfb35664b 100644 (file)
@@ -6,6 +6,11 @@ Be careful before using the write command.
 
 Device does not contain a recognized partition table.
 Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+
+Command (m for help): Created a new <removed>.
 
 Command (m for help): Partition type
    p   primary (0 primary, 0 extended, 4 free)
index 831e7dc9898f6146dc2646c5fe52d60a84261674..50b9125b9f49f8781314ed54d0c612ed094e2f13 100644 (file)
@@ -6,6 +6,11 @@ Be careful before using the write command.
 
 Device does not contain a recognized partition table.
 Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+
+Command (m for help): Created a new <removed>.
 
 Command (m for help): Partition type
    p   primary (0 primary, 0 extended, 4 free)
index 083641f47197978ae368ef2f96f375fc8cb23f83..d14e2e9271320c4281e164e11b588b78f2615060 100644 (file)
@@ -6,6 +6,11 @@ Be careful before using the write command.
 
 Device does not contain a recognized partition table.
 Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+
+Command (m for help): Created a new <removed>.
 
 Command (m for help): Partition type
    p   primary (0 primary, 0 extended, 4 free)
index 65420b6b923fda7d62564c4f7a932278e130afcc..744082c87df7ab9632211f8d7a1da5dfeca908d1 100644 (file)
@@ -6,6 +6,11 @@ Be careful before using the write command.
 
 Device does not contain a recognized partition table.
 Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+Created a new <removed>.
+
+Command (m for help): Created a new <removed>.
 
 Command (m for help): Partition type
    p   primary (0 primary, 0 extended, 4 free)
index b6e695f985a8cb39ce3bdbce477c6f8b36992ccb..67ed003c65bb81b636955ea80da9177528484754 100755 (executable)
@@ -36,6 +36,7 @@ DEVNAME=$(basename $TS_DEVICE)
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
+o
 n
 p
 1
index e6a4af76bee93fc159e5cf794b619b10827db23b..8516149486ad24b78d5dd91e01e348d86210d5db 100755 (executable)
@@ -36,6 +36,7 @@ DEVNAME=$(basename $TS_DEVICE)
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
+o
 n
 p
 1
index 94a4c1fc8dda7ea11a8c969705ea025d06421c7c..fe537507fceadaed31c3f362000e54b187e382ea 100755 (executable)
@@ -35,6 +35,7 @@ DEVICE=$TS_LODEV
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
+o
 n
 p
 1
index 48044684b0b44d363be9b817600cda5712fa5471..21843b08661ed751d69eab23adf714e3e7a9fed8 100755 (executable)
@@ -36,6 +36,7 @@ DEVNAME=$(basename $TS_DEVICE)
 
 ts_log "Create partitions"
 $TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
+o
 n
 p
 1