* [PATCH] tests: really fix fdisk/bsd for hppa
@ 2016-08-15 20:26 Helge Deller
2016-08-16 11:43 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Helge Deller @ 2016-08-15 20:26 UTC (permalink / raw)
To: util-linux; +Cc: Ruediger Meier, 827225
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
diff -up ./tests/ts/fdisk/bsd.org ./tests/ts/fdisk/bsd
--- ./tests/ts/fdisk/bsd.org 2016-08-15 22:16:24.849052620 +0200
+++ ./tests/ts/fdisk/bsd 2016-08-15 22:16:42.645094364 +0200
@@ -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
;;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tests: really fix fdisk/bsd for hppa
2016-08-15 20:26 [PATCH] tests: really fix fdisk/bsd for hppa Helge Deller
@ 2016-08-16 11:43 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2016-08-16 11:43 UTC (permalink / raw)
To: Helge Deller; +Cc: util-linux, Ruediger Meier, 827225
On Mon, Aug 15, 2016 at 10:26:30PM +0200, Helge Deller wrote:
> 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
>
> diff -up ./tests/ts/fdisk/bsd.org ./tests/ts/fdisk/bsd
> --- ./tests/ts/fdisk/bsd.org 2016-08-15 22:16:24.849052620 +0200
> +++ ./tests/ts/fdisk/bsd 2016-08-15 22:16:42.645094364 +0200
> @@ -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
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-16 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 20:26 [PATCH] tests: really fix fdisk/bsd for hppa Helge Deller
2016-08-16 11:43 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox