tests: fixes eject/umount on SPARC

Since SPARC is using 'sun' partition table by default, make test not to
assume that disk has 'dos' partition table, so write 'dos' partition
table on disk, before proceeding any further.

Signed-off-by: Anatoly Pugachev <matorola@gmail.com>
This commit is contained in:
Anatoly Pugachev 2020-03-10 19:16:01 +03:00
parent b7ff4134be
commit f97c20f4a4
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ function init_partitions {
ts_log "Create partitions"
$TS_CMD_FDISK $dev >> /dev/null 2>&1 <<EOF
o
n
p
1