[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-source-changes
Subject:    CVS commit: src/tests/dev
From:       "Martin Husemann" <martin () netbsd ! org>
Date:       2022-11-30 17:49:09
Message-ID: 20221130174909.90EC0FA90 () cvs ! NetBSD ! org
[Download RAW message or body]

Module Name:	src
Committed By:	martin
Date:		Wed Nov 30 17:49:09 UTC 2022

Modified Files:
	src/tests/dev/cgd: t_cgd.sh
	src/tests/dev/md: t_md.sh
	src/tests/dev/raidframe: t_raid.sh

Log Message:
Unfortunately rump does not provide the same magic as MAKEDEV does
for native /dev and create an alias for disk devices w/o partition
latter pointing at the raw partition, so for rump based tests we
actually have to calculate the concrete device name.

Use an idiom suggested by kre for this which also works for ports that
have kern.rawpartition > 4.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/dev/cgd/t_cgd.sh
cvs rdiff -u -r1.7 -r1.8 src/tests/dev/md/t_md.sh
cvs rdiff -u -r1.15 -r1.16 src/tests/dev/raidframe/t_raid.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic