From 424b66c514501f3a6311b73a69db5ec5729fca49 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 19 Aug 2019 14:28:50 +0200 Subject: tests: Skip fdisk/mbr-nondos-mode on Sparc as unsupported The test has been originally designed as usable on sparc, but now we use it for many features which are MBR specific. Reported-by: John Paul Adrian Glaubitz Co-Author: Anatoly Pugachev Signed-off-by: Karel Zak --- tests/ts/fdisk/mbr-nondos-mode | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/ts/fdisk/mbr-nondos-mode') diff --git a/tests/ts/fdisk/mbr-nondos-mode b/tests/ts/fdisk/mbr-nondos-mode index d3b35fa39..8fb09f1ce 100755 --- a/tests/ts/fdisk/mbr-nondos-mode +++ b/tests/ts/fdisk/mbr-nondos-mode @@ -37,19 +37,16 @@ FDISK_CMD_DELETE_1PRIMARY="d\n1\n" # delete first primary FDISK_CMD_DELETE_2PRIMARY="d\n2\n" # delete first primary FDISK_CMD_DELETE_EXTENDED="d\n3\n" # delete second primary -# Sparc uses SUN disk labels by default and thus has a different output +# ignore architectures where MBR is not a default ARCH=$(uname -m) case $ARCH in *sparc* ) - ARCH_EXT=".sparc" + ts_skip "unsupported" ;; *) - ARCH_EXT="" ;; esac -TS_EXPECTED+="${ARCH_EXT}" - function print_layout { echo -ne "\n---layout----------\n" >> $TS_OUTPUT $TS_CMD_FDISK -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT -- cgit v1.2.3-55-g7522