summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh3
1 files changed, 2 insertions, 1 deletions
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}:<removed>:g" $TS_OUTPUT
+ sed -i -e "s:${DEVNAME}:<removed>:g;" $TS_OUTPUT
fi
sed -i -e 's/Disk identifier:.*/Disk identifier: <removed>/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 <removed>./g' \
+ -e 's/typescript file.*/typescript file <removed>./g' \
$TS_OUTPUT
}