diff options
author | Karel Zak | 2015-09-09 14:43:31 +0200 |
---|---|---|
committer | Karel Zak | 2015-09-09 14:43:31 +0200 |
commit | 161f399f132a504f3acb273a56a39e2758d88616 (patch) | |
tree | 133a6f3b5acd2948bd111f419beb0032c4a2e6bc /tests/functions.sh | |
parent | sfdisk: add --move-data (diff) | |
download | kernel-qcow2-util-linux-161f399f132a504f3acb273a56a39e2758d88616.tar.gz kernel-qcow2-util-linux-161f399f132a504f3acb273a56a39e2758d88616.tar.xz kernel-qcow2-util-linux-161f399f132a504f3acb273a56a39e2758d88616.zip |
tests: add sfdisk --move-data test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 3 |
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 } |