tests: fixes fdisk/align-512-* tests

write 'MSDOS' partition table before test

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
This commit is contained in:
Anatoly Pugachev 2020-03-23 17:23:01 +03:00
parent 5c52c75803
commit 25f5c514b9
8 changed files with 24 additions and 0 deletions

View 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)

View 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)

View 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)

View 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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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