Roland Mainz wrote:
Robert Thurlow wrote:
Roland Mainz wrote:
Ok... does that mean that I have to create a ZFS filesystem to actually
test ([1]) an application which modifies ZFS/NFSv4 ACLs or are there any
other options ?
By all means, test with ZFS. But it's easy to do that:
# mkfile 64m /zpool.file
# zpool create test /zpool.file
# zfs list
test 67.5K 27.4M 18K /test
I know... but AFAIK this requires "root" priviledges which the test
suite won't have...
It is also more difficult to test error conditions.
Unless you really have to, don't use fancy link options for a test
harness so you can easily interpose (or simply define) mock library
calls. If you stick with regular dynamic linking, you can simply define
your mock/stub library functions in your test code. Easy.
--
Ian.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss