From f0c60dff1acae21b1729ed4963bd46be3bbaa83e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 15 Feb 2017 12:48:06 +0100 Subject: tests: add sfdisk --wipe and --wipe-partition tests Addresses: https://github.com/karelzak/util-linux/issues/410 Addresses: https://github.com/karelzak/util-linux/issues/411 Signed-off-by: Karel Zak --- tests/functions.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/functions.sh') diff --git a/tests/functions.sh b/tests/functions.sh index 9239ab4f6..34d966a6e 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -45,6 +45,16 @@ function ts_cd { fi } +function ts_separator { + local header="$1" + echo >> $TS_OUTPUT + if [ -z "$header" ]; then + echo "============================================" >> $TS_OUTPUT + else + echo "=====$header================================" >> $TS_OUTPUT + fi +} + function ts_report { local desc= -- cgit v1.2.3-55-g7522