diff options
author | Karel Zak | 2019-08-19 14:28:50 +0200 |
---|---|---|
committer | Karel Zak | 2019-08-19 14:30:35 +0200 |
commit | 424b66c514501f3a6311b73a69db5ec5729fca49 (patch) | |
tree | 9bb3625bbad47fb4597aed7c57118603cfd4f2f6 /tests/ts/fdisk/mbr-nondos-mode | |
parent | chfn: don't append extra tailing commas (diff) | |
download | kernel-qcow2-util-linux-424b66c514501f3a6311b73a69db5ec5729fca49.tar.gz kernel-qcow2-util-linux-424b66c514501f3a6311b73a69db5ec5729fca49.tar.xz kernel-qcow2-util-linux-424b66c514501f3a6311b73a69db5ec5729fca49.zip |
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 <glaubitz@physik.fu-berlin.de>
Co-Author: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/fdisk/mbr-nondos-mode')
-rwxr-xr-x | tests/ts/fdisk/mbr-nondos-mode | 7 |
1 files changed, 2 insertions, 5 deletions
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 |