NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sparc/45580: paths(3) test failures on sparc



On Sun, Nov 06, 2011 at 09:29:41PM +0200, Jukka Ruohonen wrote:
> On Sun, Nov 06, 2011 at 07:45:31PM +0100, Martin Husemann wrote:
> > hw.machine = sparc
> 
> Wouldn't this mean that we can just use "sparc" as the identifier?

No, as on real sparc the tests work, skipping them everywhere would
be stupid.

How about adding a sysctl hw.is_emulator, not present on real hardware, but
if the kernel can detect an emulation "somehow" set to the name of the 
emulator (and version info or whatever)?

Or we can use this hack for now:

  ofctl -p | fgrep /packages/grubfs-files

will create one line of output with the QEMU firmware, but unlikely find
anything with a real sparc.

Martin



Home | Main Index | Thread Index | Old Index