tests: really fix fdisk/bsd for hppa
PATCH 1/1 tests: really fix fdisk/bsd for hppa
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 <[email protected]>
tests/ts/fdisk/bsd renamed from tests/ts/fdisk/bsd.org +1 -1
@@ -48,7 +48,7 @@ BYTE_ORDER=$($TS_HELPER_SYSINFO byte-ord 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 ;;
Quoted 13 lines · Helge Deller
Finally fix the bsd testcase on the hppa architecture.
Commit
1b7be556e553cdcef6213ead6340832c306011edtried to fix it, but missed the fact that "uname -m" returns "parisc" or "parisc64" instead of "hppa*".Signed-off-by Helge Deller <[email protected]>diff -up ./tests/ts/fdisk/bsd.org ./tests/ts/fdisk/bsd
tests/ts/fdisk/bsd BYTE_ORDER=$($TS_HELPER_SYSINFO byte-ord · line 51
Quoted 5 lines
tests/ts/fdisk/bsd renamed from tests/ts/fdisk/bsd.org +1
-1@@ -48,7 +48,7 @@ BYTE_ORDER=$($TS_HELPER_SYSINFO byte-ord ARCH=$(uname -m) case $ARCH in # see include/pt-bsd.h - *alpha* | *ppc* | *ia64* | *hppa* ) + *alpha* | *ppc* | *ia64* | *parisc* )
Applied, but we had hppa also in ./confugure, so I guess that "hppa" has been also correct for some boxes. It seems more robust to use
*alpha* | *ppc* | *ia64* | *hppa* | *parisc* )
for sure. Fixed.
Thanks
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com