summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/mbr-nondos-mode
diff options
context:
space:
mode:
authorKarel Zak2012-08-01 11:16:00 +0200
committerKarel Zak2012-08-01 11:16:00 +0200
commit31d33229a19a45c4ce9aa6e5961e2e1f8276cb1e (patch)
treec4a30b079980ab12bc3d0b35d173b9809181c274 /tests/ts/fdisk/mbr-nondos-mode
parenttests: blkid/md-raid1-part fails (diff)
downloadkernel-qcow2-util-linux-31d33229a19a45c4ce9aa6e5961e2e1f8276cb1e.tar.gz
kernel-qcow2-util-linux-31d33229a19a45c4ce9aa6e5961e2e1f8276cb1e.tar.xz
kernel-qcow2-util-linux-31d33229a19a45c4ce9aa6e5961e2e1f8276cb1e.zip
tests: standardize fdisk headers in MBR tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/fdisk/mbr-nondos-mode')
-rwxr-xr-xtests/ts/fdisk/mbr-nondos-mode4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode
index 9999f1a5d..119d2c9ff 100755
--- a/tests/ts/fdisk/mbr-nondos-mode
+++ b/tests/ts/fdisk/mbr-nondos-mode
@@ -36,7 +36,9 @@ FDISK_CMD_DELETE_EXTENDED="d\n3\n" # delete second primary
function print_layout {
echo -ne "\n---layout----------" >> $TS_OUTPUT
- $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} | sed 's/^.*\.img/__ts_dev__/g' >> $TS_OUTPUT 2>&1
+ $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} | \
+ sed 's/^.*\.img/__ts_dev__/g;
+ s/^[[:blank:]]*Device Boot/ Device Boot/g' >> $TS_OUTPUT 2>&1
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}