Date: Tue, 22 Jul 2014 16:07:56 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org> Subject: Location of test kernel drivers in tree? Message-ID: <CAGHfRMC==6WRKwd13R7Yyjyu%2B_Oi_173TLTXPVk9ynH0G5qqxg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I need to do some KPI verification and hook that into ATF / kyua. Since we don't have RUMP [yet] from NetBSD, I would typically write a simple, one-off test driver, hook it into the kernel build and have a piece of C or shell code that pokes directly at the driver to get access to kernel interfaces. I was wondering if it made sense to put all test drivers into sys/tests/<module-name>/..., e.g. sys/tests/test_memguard/{Makefile,test_memguard.c}, etc. Is there an alternative approach that others use to solve this problem? Thanks! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMC==6WRKwd13R7Yyjyu%2B_Oi_173TLTXPVk9ynH0G5qqxg>