]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: really fix fdisk/bsd for hppa
authorHelge Deller <deller@gmx.de>
Mon, 15 Aug 2016 20:26:30 +0000 (22:26 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 2 Sep 2016 11:28:11 +0000 (13:28 +0200)
Finally fix the bsd testcase on the hppa architecture.

Commit 1b7be556e553cdcef6213ead6340832c306011ed tried to fix it,
but missed the fact that "uname -m" returns "parisc" or "parisc64"
instead of "hppa*".

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: 827225@bugs.debian.org
tests/ts/fdisk/bsd

index fa64e1affdb897d1f9ae9a5b26c75e4706f7be87..2d33dd494643a7cdecb2f74344f1680fe780d56f 100755 (executable)
@@ -48,7 +48,7 @@ BYTE_ORDER=$($TS_HELPER_SYSINFO byte-order)
 ARCH=$(uname -m)
 case $ARCH in
        # see include/pt-bsd.h
-       *alpha* | *ppc* | *ia64* | *hppa* )
+       *alpha* | *ppc* | *ia64* | *parisc* )
                BSD_LABELSECTOR=0
                BSD_LABELOFFSET=64
                ;;