tests: update sfdisk wipe output
- stderr is used for the warning (like in fdisk) Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
f227757c77
commit
91099dea35
|
@ -1476,7 +1476,7 @@ static void follow_wipe_mode(struct sfdisk *sf)
|
|||
|
||||
if (dowipe) {
|
||||
if (!fdisk_is_ptcollision(sf->cxt)) {
|
||||
fdisk_warn(sf->cxt, _(
|
||||
fdisk_warnx(sf->cxt, _(
|
||||
"The device contains '%s' signature and it will be removed by a write command. "
|
||||
"See sfdisk(8) man page and --wipe option for more details."),
|
||||
fdisk_get_collision(sf->cxt));
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
=====Create FS================================
|
||||
|
||||
=====Create DOS================================
|
||||
The old swap signature will be removed by a write command.
|
||||
|
||||
Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
|
||||
Disk model: scsi_debug
|
||||
|
@ -11,7 +10,6 @@ Sector size (logical/physical): 512 bytes / 4096 bytes
|
|||
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
|
||||
|
||||
>>> Created a new <removed>.
|
||||
The old swap signature will be removed by a write command.
|
||||
|
||||
<removed>1: Created a new <removed>.
|
||||
<removed>2: Done.
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
The device contains 'swap' signature and it will be removed by a write command. See sfdisk(8) man page and --wipe option for more details.
|
||||
The device contains 'swap' signature and it will be removed by a write command. See sfdisk(8) man page and --wipe option for more details.
|
Loading…
Reference in New Issue