K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-10-18T17:43:48.411610Z K 7 svn:log V 760 Add the zfsd unit tests. They require googletest and googlemock from ports. cddl/sbin/zfsd/tests cddl/sbin/zfsd/tests/libmocks.c cddl/sbin/zfsd/tests/zfsd_unittest.cc cddl/sbin/zfsd/tests/libmocks.h cddl/sbin/zfsd/tests/Makefile Add the zfsd unit tests. cddl/sbin/zfsd/tests/zfsd_unittest.supp Add a valgrind suppression file. cddl/sbin/zfsd/tests/zfsd_test.sh An ATF test program that runs the unit tests cddl/sbin/zfsd/Makefile.common Modify Makefile.common so that it can be used either to build zfsd or zfsd's unit tests. cddl/sbin/zfsd/Makefile Don't descend into the tests directory if googletest and googlemock are not installed, even if MK_TESTS=yes Submitted by: asomers Approved by: ken (mentor) Sponsored by: Spectra Logic Corporation END