From 161f399f132a504f3acb273a56a39e2758d88616 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 9 Sep 2015 14:43:31 +0200 Subject: tests: add sfdisk --move-data test Signed-off-by: Karel Zak --- tests/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/functions.sh') diff --git a/tests/functions.sh b/tests/functions.sh index 438ca3a2f..e84661b0c 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -609,7 +609,7 @@ function ts_fdisk_clean { # remove non comparable parts of fdisk output if [ x"${DEVNAME}" != x"" ]; then - sed -i -e "s:${DEVNAME}::g" $TS_OUTPUT + sed -i -e "s:${DEVNAME}::g;" $TS_OUTPUT fi sed -i -e 's/Disk identifier:.*/Disk identifier: /g' \ @@ -618,6 +618,7 @@ function ts_fdisk_clean { -e 's/^Device[[:blank:]]*Boot/Device Boot/g' \ -e 's/^Device[[:blank:]]*Flag/Device Flag/g' \ -e 's/Welcome to fdisk.*/Welcome to fdisk ./g' \ + -e 's/typescript file.*/typescript file ./g' \ $TS_OUTPUT } -- cgit v1.2.3-55-g7522