Date: Thu, 6 Nov 2014 21:49:37 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r274196 - in user/dchagin/lemul: . bin/sh bin/sh/tests/expansion bin/sh/tests/parameters contrib/atf contrib/atf/atf-c contrib/atf/atf-c++ contrib/atf/atf-c++/detail contrib/atf/atf-c/d... Message-ID: <201411062149.sA6Lnbwq090221@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Thu Nov 6 21:49:35 2014 New Revision: 274196 URL: https://svnweb.freebsd.org/changeset/base/274196 Log: MFH. + imp@ ${SYSDIR} changes in linux modules Makefiles. Added: user/dchagin/lemul/bin/sh/tests/expansion/redir1.0 - copied unchanged from r274195, head/bin/sh/tests/expansion/redir1.0 user/dchagin/lemul/bin/sh/tests/parameters/positional6.0 - copied unchanged from r274195, head/bin/sh/tests/parameters/positional6.0 user/dchagin/lemul/bin/sh/tests/parameters/positional7.0 - copied unchanged from r274195, head/bin/sh/tests/parameters/positional7.0 user/dchagin/lemul/contrib/atf/atf-c++/atf-c++.3 - copied unchanged from r274195, head/contrib/atf/atf-c++/atf-c++.3 user/dchagin/lemul/contrib/atf/atf-c/atf-c.3 - copied unchanged from r274195, head/contrib/atf/atf-c/atf-c.3 user/dchagin/lemul/contrib/atf/atf-sh/atf-sh.3 - copied unchanged from r274195, head/contrib/atf/atf-sh/atf-sh.3 user/dchagin/lemul/contrib/atf/config.h - copied unchanged from r274195, head/contrib/atf/config.h user/dchagin/lemul/contrib/atf/doc/atf.7.in - copied unchanged from r274195, head/contrib/atf/doc/atf.7.in user/dchagin/lemul/contrib/ofed/libcxgb4/ - copied from r274195, head/contrib/ofed/libcxgb4/ user/dchagin/lemul/contrib/ofed/librdmacm/examples/build/ - copied from r274195, head/contrib/ofed/librdmacm/examples/build/ user/dchagin/lemul/contrib/ofed/usr.lib/libcxgb4/ - copied from r274195, head/contrib/ofed/usr.lib/libcxgb4/ user/dchagin/lemul/etc/rc.d/growfs - copied unchanged from r274195, head/etc/rc.d/growfs user/dchagin/lemul/lib/libarchive/libarchive.pc - copied unchanged from r274195, head/lib/libarchive/libarchive.pc user/dchagin/lemul/lib/libc/Makefile.amd64 - copied unchanged from r274195, head/lib/libc/Makefile.amd64 user/dchagin/lemul/lib/libc/Makefile.i386 - copied unchanged from r274195, head/lib/libc/Makefile.i386 user/dchagin/lemul/lib/libc/tests/ - copied from r274195, head/lib/libc/tests/ user/dchagin/lemul/lib/libdpv/ - copied from r274195, head/lib/libdpv/ user/dchagin/lemul/lib/libfigpar/ - copied from r274195, head/lib/libfigpar/ user/dchagin/lemul/lib/libnetbsd/sys/time.h - copied unchanged from r274195, head/lib/libnetbsd/sys/time.h user/dchagin/lemul/lib/libpam/libpam/tests/ - copied from r274195, head/lib/libpam/libpam/tests/ user/dchagin/lemul/share/doc/pjdfstest/ - copied from r274195, head/share/doc/pjdfstest/ user/dchagin/lemul/share/man/man7/growfs.7 - copied unchanged from r274195, head/share/man/man7/growfs.7 user/dchagin/lemul/share/man/man9/casuword.9 - copied unchanged from r274195, head/share/man/man9/casuword.9 user/dchagin/lemul/share/mk/netbsd-tests.test.mk - copied unchanged from r274195, head/share/mk/netbsd-tests.test.mk user/dchagin/lemul/sys/boot/fdt/fdt_platform.h - copied unchanged from r274195, head/sys/boot/fdt/fdt_platform.h user/dchagin/lemul/sys/boot/uboot/fdt/ - copied from r274195, head/sys/boot/uboot/fdt/ user/dchagin/lemul/sys/compat/svr4/README - copied unchanged from r274195, head/sys/compat/svr4/README user/dchagin/lemul/sys/compat/svr4/TO-DO - copied unchanged from r274195, head/sys/compat/svr4/TO-DO user/dchagin/lemul/sys/dev/random/build.sh - copied unchanged from r274195, head/sys/dev/random/build.sh user/dchagin/lemul/sys/dev/random/fortuna.c - copied unchanged from r274195, head/sys/dev/random/fortuna.c user/dchagin/lemul/sys/dev/random/fortuna.h - copied unchanged from r274195, head/sys/dev/random/fortuna.h user/dchagin/lemul/sys/dev/random/uint128.h - copied unchanged from r274195, head/sys/dev/random/uint128.h user/dchagin/lemul/sys/dev/random/unit_test.c - copied unchanged from r274195, head/sys/dev/random/unit_test.c user/dchagin/lemul/sys/dev/random/unit_test.h - copied unchanged from r274195, head/sys/dev/random/unit_test.h user/dchagin/lemul/sys/modules/padlock_rng/ - copied from r274195, head/sys/modules/padlock_rng/ user/dchagin/lemul/sys/modules/rdrand_rng/ - copied from r274195, head/sys/modules/rdrand_rng/ user/dchagin/lemul/sys/x86/include/vmware.h - copied unchanged from r274195, head/sys/x86/include/vmware.h user/dchagin/lemul/tests/sys/pjdfstest/ - copied from r274195, head/tests/sys/pjdfstest/ user/dchagin/lemul/usr.bin/dpv/ - copied from r274195, head/usr.bin/dpv/ user/dchagin/lemul/usr.bin/timeout/tests/ - copied from r274195, head/usr.bin/timeout/tests/ Deleted: user/dchagin/lemul/contrib/atf/atf-c++/config.cpp user/dchagin/lemul/contrib/atf/atf-c++/config.hpp user/dchagin/lemul/contrib/atf/atf-c++/config_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/sanity_test.cpp user/dchagin/lemul/contrib/atf/atf-c/config.c user/dchagin/lemul/contrib/atf/atf-c/config.h user/dchagin/lemul/contrib/atf/atf-c/config_test.c user/dchagin/lemul/contrib/atf/bconfig.h user/dchagin/lemul/etc/rc.d/initrandom user/dchagin/lemul/etc/rc.d/postrandom user/dchagin/lemul/sys/dev/random/harvest.c user/dchagin/lemul/sys/dev/random/rwfile.c user/dchagin/lemul/sys/dev/random/rwfile.h user/dchagin/lemul/sys/modules/svr4/README user/dchagin/lemul/sys/modules/svr4/TO-DO user/dchagin/lemul/tests/lib/ Modified: user/dchagin/lemul/MAINTAINERS (contents, props changed) user/dchagin/lemul/ObsoleteFiles.inc user/dchagin/lemul/UPDATING user/dchagin/lemul/bin/sh/expand.c user/dchagin/lemul/bin/sh/tests/expansion/Makefile user/dchagin/lemul/bin/sh/tests/parameters/Makefile user/dchagin/lemul/contrib/atf/FREEBSD-Xlist user/dchagin/lemul/contrib/atf/NEWS user/dchagin/lemul/contrib/atf/atf-c++.hpp user/dchagin/lemul/contrib/atf/atf-c++/Kyuafile user/dchagin/lemul/contrib/atf/atf-c++/atf_c++_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/build.cpp user/dchagin/lemul/contrib/atf/atf-c++/build.hpp user/dchagin/lemul/contrib/atf/atf-c++/build_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/check.cpp user/dchagin/lemul/contrib/atf/atf-c++/check.hpp user/dchagin/lemul/contrib/atf/atf-c++/check_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/Kyuafile user/dchagin/lemul/contrib/atf/atf-c++/detail/application.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/application.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/application_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/auto_array.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/auto_array_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/env.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/env.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/env_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/exceptions.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/exceptions.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/exceptions_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/fs.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/fs.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/fs_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/process.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/process.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/process_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/sanity.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/test_helpers.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/test_helpers.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/text.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/text.hpp user/dchagin/lemul/contrib/atf/atf-c++/detail/text_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/detail/version_helper.cpp user/dchagin/lemul/contrib/atf/atf-c++/macros.hpp user/dchagin/lemul/contrib/atf/atf-c++/macros_hpp_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/macros_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/pkg_config_test.sh user/dchagin/lemul/contrib/atf/atf-c++/tests.cpp user/dchagin/lemul/contrib/atf/atf-c++/tests.hpp user/dchagin/lemul/contrib/atf/atf-c++/tests_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/unused_test.cpp user/dchagin/lemul/contrib/atf/atf-c++/utils.cpp user/dchagin/lemul/contrib/atf/atf-c++/utils.hpp user/dchagin/lemul/contrib/atf/atf-c++/utils_test.cpp user/dchagin/lemul/contrib/atf/atf-c.h user/dchagin/lemul/contrib/atf/atf-c/Kyuafile user/dchagin/lemul/contrib/atf/atf-c/atf_c_test.c user/dchagin/lemul/contrib/atf/atf-c/build.c user/dchagin/lemul/contrib/atf/atf-c/build.h user/dchagin/lemul/contrib/atf/atf-c/build_test.c user/dchagin/lemul/contrib/atf/atf-c/check.c user/dchagin/lemul/contrib/atf/atf-c/check.h user/dchagin/lemul/contrib/atf/atf-c/check_test.c user/dchagin/lemul/contrib/atf/atf-c/defs.h.in user/dchagin/lemul/contrib/atf/atf-c/detail/dynstr.c user/dchagin/lemul/contrib/atf/atf-c/detail/dynstr.h user/dchagin/lemul/contrib/atf/atf-c/detail/dynstr_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/env.c user/dchagin/lemul/contrib/atf/atf-c/detail/env.h user/dchagin/lemul/contrib/atf/atf-c/detail/env_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/fs.c user/dchagin/lemul/contrib/atf/atf-c/detail/fs.h user/dchagin/lemul/contrib/atf/atf-c/detail/fs_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/list.c user/dchagin/lemul/contrib/atf/atf-c/detail/list.h user/dchagin/lemul/contrib/atf/atf-c/detail/list_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/map.c user/dchagin/lemul/contrib/atf/atf-c/detail/map.h user/dchagin/lemul/contrib/atf/atf-c/detail/map_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/process.c user/dchagin/lemul/contrib/atf/atf-c/detail/process.h user/dchagin/lemul/contrib/atf/atf-c/detail/process_helpers.c user/dchagin/lemul/contrib/atf/atf-c/detail/process_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/sanity.c user/dchagin/lemul/contrib/atf/atf-c/detail/sanity.h user/dchagin/lemul/contrib/atf/atf-c/detail/sanity_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/test_helpers.c user/dchagin/lemul/contrib/atf/atf-c/detail/test_helpers.h user/dchagin/lemul/contrib/atf/atf-c/detail/text.c user/dchagin/lemul/contrib/atf/atf-c/detail/text.h user/dchagin/lemul/contrib/atf/atf-c/detail/text_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/tp_main.c user/dchagin/lemul/contrib/atf/atf-c/detail/user.c user/dchagin/lemul/contrib/atf/atf-c/detail/user.h user/dchagin/lemul/contrib/atf/atf-c/detail/user_test.c user/dchagin/lemul/contrib/atf/atf-c/detail/version_helper.c user/dchagin/lemul/contrib/atf/atf-c/error.c user/dchagin/lemul/contrib/atf/atf-c/error.h user/dchagin/lemul/contrib/atf/atf-c/error_fwd.h user/dchagin/lemul/contrib/atf/atf-c/error_test.c user/dchagin/lemul/contrib/atf/atf-c/h_build.h user/dchagin/lemul/contrib/atf/atf-c/macros.h user/dchagin/lemul/contrib/atf/atf-c/macros_h_test.c user/dchagin/lemul/contrib/atf/atf-c/macros_test.c user/dchagin/lemul/contrib/atf/atf-c/pkg_config_test.sh user/dchagin/lemul/contrib/atf/atf-c/tc.c user/dchagin/lemul/contrib/atf/atf-c/tc.h user/dchagin/lemul/contrib/atf/atf-c/tc_test.c user/dchagin/lemul/contrib/atf/atf-c/tp.c user/dchagin/lemul/contrib/atf/atf-c/tp.h user/dchagin/lemul/contrib/atf/atf-c/tp_test.c user/dchagin/lemul/contrib/atf/atf-c/unused_test.c user/dchagin/lemul/contrib/atf/atf-c/utils.c user/dchagin/lemul/contrib/atf/atf-c/utils.h user/dchagin/lemul/contrib/atf/atf-c/utils_test.c user/dchagin/lemul/contrib/atf/atf-sh/atf-check.1 user/dchagin/lemul/contrib/atf/atf-sh/atf-check.cpp user/dchagin/lemul/contrib/atf/atf-sh/atf-check_test.sh user/dchagin/lemul/contrib/atf/atf-sh/atf-sh.1 user/dchagin/lemul/contrib/atf/atf-sh/atf-sh.cpp user/dchagin/lemul/contrib/atf/atf-sh/atf_check_test.sh user/dchagin/lemul/contrib/atf/atf-sh/config_test.sh user/dchagin/lemul/contrib/atf/atf-sh/integration_test.sh user/dchagin/lemul/contrib/atf/atf-sh/libatf-sh.subr user/dchagin/lemul/contrib/atf/atf-sh/misc_helpers.sh user/dchagin/lemul/contrib/atf/atf-sh/normalize_test.sh user/dchagin/lemul/contrib/atf/atf-sh/tc_test.sh user/dchagin/lemul/contrib/atf/atf-sh/tp_test.sh user/dchagin/lemul/contrib/atf/doc/atf-test-case.4 user/dchagin/lemul/contrib/atf/doc/atf-test-program.1 user/dchagin/lemul/contrib/atf/test-programs/c_helpers.c user/dchagin/lemul/contrib/atf/test-programs/common.sh user/dchagin/lemul/contrib/atf/test-programs/config_test.sh user/dchagin/lemul/contrib/atf/test-programs/cpp_helpers.cpp user/dchagin/lemul/contrib/atf/test-programs/expect_test.sh user/dchagin/lemul/contrib/atf/test-programs/meta_data_test.sh user/dchagin/lemul/contrib/atf/test-programs/result_test.sh user/dchagin/lemul/contrib/atf/test-programs/sh_helpers.sh user/dchagin/lemul/contrib/atf/test-programs/srcdir_test.sh user/dchagin/lemul/contrib/mtree/create.c user/dchagin/lemul/contrib/mtree/extern.h user/dchagin/lemul/contrib/mtree/getid.c user/dchagin/lemul/contrib/mtree/mtree.c user/dchagin/lemul/contrib/mtree/spec.c user/dchagin/lemul/contrib/netbsd-tests/include/t_paths.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/db/t_db.sh user/dchagin/lemul/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/gen/t_fpsetmask.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/gen/t_isnan.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/gen/t_sethostname.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/gen/t_siginfo.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/hash/h_hash.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/hash/t_sha2.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/inet/t_inet_network.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/locale/t_io.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/net/h_dns_server.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/net/t_ether_aton.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/net/t_servent.sh user/dchagin/lemul/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/ssp/h_memset.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/ssp/h_read.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/ssp/h_readlink.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/ssp/h_snprintf.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/ssp/t_ssp.sh user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdio/t_fflush.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdio/t_printf.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdlib/h_atexit.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/stdlib/t_strtod.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/sys/t_dup.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/sys/t_getitimer.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/sys/t_kevent.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/sys/t_mincore.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/sys/t_sigaction.c user/dchagin/lemul/contrib/netbsd-tests/lib/libc/time/t_mktime.c user/dchagin/lemul/contrib/netbsd-tests/lib/libexecinfo/t_backtrace.c user/dchagin/lemul/contrib/netbsd-tests/lib/libm/t_ldexp.c user/dchagin/lemul/contrib/netbsd-tests/lib/libm/t_log.c user/dchagin/lemul/contrib/netbsd-tests/lib/libm/t_precision.c user/dchagin/lemul/contrib/netbsd-tests/lib/libpthread/t_mutex.c user/dchagin/lemul/contrib/netbsd-tests/lib/libpthread/t_sem.c user/dchagin/lemul/contrib/netbsd-tests/usr.sbin/mtree/t_mtree.sh user/dchagin/lemul/contrib/ofed/librdmacm/examples/rping.c user/dchagin/lemul/contrib/ofed/usr.lib/Makefile user/dchagin/lemul/contrib/ofed/usr.lib/Makefile.inc user/dchagin/lemul/contrib/openpam/t/t_openpam_ctype.c user/dchagin/lemul/contrib/openpam/t/t_openpam_readlinev.c user/dchagin/lemul/contrib/openpam/t/t_openpam_readword.c user/dchagin/lemul/contrib/tnftp/src/fetch.c user/dchagin/lemul/etc/defaults/rc.conf user/dchagin/lemul/etc/motd user/dchagin/lemul/etc/mtree/BSD.debug.dist user/dchagin/lemul/etc/mtree/BSD.tests.dist user/dchagin/lemul/etc/periodic/security/Makefile user/dchagin/lemul/etc/rc.d/Makefile user/dchagin/lemul/etc/rc.d/adjkerntz user/dchagin/lemul/etc/rc.d/geli user/dchagin/lemul/etc/rc.d/random user/dchagin/lemul/etc/rc.d/syscons user/dchagin/lemul/etc/rc.d/syslogd user/dchagin/lemul/lib/Makefile user/dchagin/lemul/lib/atf/Makefile.inc user/dchagin/lemul/lib/atf/common.mk user/dchagin/lemul/lib/atf/libatf-c++/Makefile user/dchagin/lemul/lib/atf/libatf-c++/tests/Makefile user/dchagin/lemul/lib/atf/libatf-c++/tests/detail/Makefile user/dchagin/lemul/lib/atf/libatf-c/Makefile user/dchagin/lemul/lib/atf/libatf-c/tests/Makefile user/dchagin/lemul/lib/atf/libatf-c/tests/detail/Makefile user/dchagin/lemul/lib/libarchive/Makefile user/dchagin/lemul/lib/libc/Makefile user/dchagin/lemul/lib/libc/posix1e/acl.3 user/dchagin/lemul/lib/libc/posix1e/acl_add_flag_np.3 user/dchagin/lemul/lib/libc/posix1e/acl_clear_flags_np.3 user/dchagin/lemul/lib/libc/posix1e/acl_delete_flag_np.3 user/dchagin/lemul/lib/libc/posix1e/acl_get_flag_np.3 user/dchagin/lemul/lib/libc/posix1e/acl_get_flagset_np.3 user/dchagin/lemul/lib/libc/posix1e/acl_set_entry_type_np.3 user/dchagin/lemul/lib/libc/posix1e/acl_set_flagset_np.3 user/dchagin/lemul/lib/libc/sys/utrace.2 user/dchagin/lemul/lib/libpam/libpam/Makefile user/dchagin/lemul/lib/libutil/gr_util.c user/dchagin/lemul/lib/libutil/login_class.c user/dchagin/lemul/libexec/atf/atf-check/Makefile user/dchagin/lemul/libexec/atf/atf-sh/Makefile user/dchagin/lemul/libexec/atf/atf-sh/tests/Makefile user/dchagin/lemul/libexec/save-entropy/save-entropy.sh user/dchagin/lemul/release/Makefile user/dchagin/lemul/release/doc/en_US.ISO8859-1/hardware/article.xml user/dchagin/lemul/sbin/fsck_msdosfs/boot.c user/dchagin/lemul/sbin/fsck_msdosfs/dosfs.h user/dchagin/lemul/sbin/fsirand/Makefile user/dchagin/lemul/sbin/mount_nfs/Makefile user/dchagin/lemul/sbin/mount_nfs/mount_nfs.8 user/dchagin/lemul/sbin/mount_nfs/mount_nfs.c user/dchagin/lemul/sbin/route/route.c user/dchagin/lemul/share/doc/Makefile user/dchagin/lemul/share/examples/kld/random_adaptor/random_adaptor_example.c user/dchagin/lemul/share/man/man4/tap.4 user/dchagin/lemul/share/man/man4/vt.4 user/dchagin/lemul/share/man/man7/Makefile user/dchagin/lemul/share/man/man9/Makefile user/dchagin/lemul/share/man/man9/domain.9 user/dchagin/lemul/share/man/man9/fetch.9 user/dchagin/lemul/share/man/man9/lock.9 user/dchagin/lemul/share/man/man9/store.9 user/dchagin/lemul/share/mk/atf.test.mk user/dchagin/lemul/share/mk/bsd.libnames.mk user/dchagin/lemul/share/mk/bsd.obj.mk user/dchagin/lemul/share/mk/bsd.progs.mk user/dchagin/lemul/share/mk/bsd.test.mk user/dchagin/lemul/share/mk/plain.test.mk user/dchagin/lemul/share/mk/tap.test.mk user/dchagin/lemul/sys/amd64/amd64/genassym.c user/dchagin/lemul/sys/amd64/amd64/support.S user/dchagin/lemul/sys/amd64/amd64/sys_machdep.c user/dchagin/lemul/sys/amd64/amd64/vm_machdep.c user/dchagin/lemul/sys/amd64/conf/GENERIC user/dchagin/lemul/sys/amd64/conf/NOTES user/dchagin/lemul/sys/amd64/ia32/ia32_syscall.c user/dchagin/lemul/sys/amd64/include/md_var.h user/dchagin/lemul/sys/amd64/vmm/amd/vmcb.c (contents, props changed) user/dchagin/lemul/sys/arm/allwinner/a10_gpio.c user/dchagin/lemul/sys/arm/arm/busdma_machdep-v6.c user/dchagin/lemul/sys/arm/arm/machdep.c user/dchagin/lemul/sys/arm/broadcom/bcm2835/bcm2835_gpio.c user/dchagin/lemul/sys/arm/freescale/imx/imx_gpio.c user/dchagin/lemul/sys/arm/freescale/vybrid/vf_gpio.c user/dchagin/lemul/sys/arm/include/param.h user/dchagin/lemul/sys/arm/lpc/lpc_gpio.c user/dchagin/lemul/sys/arm/rockchip/rk30xx_gpio.c user/dchagin/lemul/sys/arm/samsung/exynos/exynos5_pad.c user/dchagin/lemul/sys/arm/ti/ti_gpio.c user/dchagin/lemul/sys/arm/xilinx/zy7_gpio.c user/dchagin/lemul/sys/arm/xscale/ixp425/avila_gpio.c user/dchagin/lemul/sys/arm/xscale/ixp425/cambria_gpio.c user/dchagin/lemul/sys/boot/amd64/boot1.efi/boot1.c user/dchagin/lemul/sys/boot/arm/uboot/Makefile user/dchagin/lemul/sys/boot/common/install.c user/dchagin/lemul/sys/boot/common/misc.c user/dchagin/lemul/sys/boot/fdt/Makefile user/dchagin/lemul/sys/boot/fdt/fdt_loader_cmd.c user/dchagin/lemul/sys/boot/powerpc/uboot/Makefile user/dchagin/lemul/sys/boot/uboot/Makefile user/dchagin/lemul/sys/boot/uboot/common/metadata.c user/dchagin/lemul/sys/boot/uboot/lib/Makefile user/dchagin/lemul/sys/boot/uboot/lib/libuboot.h user/dchagin/lemul/sys/boot/uboot/lib/module.c user/dchagin/lemul/sys/cam/ctl/ctl.c user/dchagin/lemul/sys/cam/ctl/ctl.h user/dchagin/lemul/sys/cam/ctl/ctl_backend.h user/dchagin/lemul/sys/cam/ctl/ctl_backend_block.c user/dchagin/lemul/sys/cam/ctl/ctl_error.c user/dchagin/lemul/sys/cam/ctl/ctl_error.h user/dchagin/lemul/sys/cam/ctl/ctl_frontend_iscsi.c user/dchagin/lemul/sys/cam/ctl/ctl_private.h user/dchagin/lemul/sys/cam/ctl/scsi_ctl.c user/dchagin/lemul/sys/cam/scsi/scsi_all.c user/dchagin/lemul/sys/cam/scsi/scsi_all.h user/dchagin/lemul/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c user/dchagin/lemul/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c user/dchagin/lemul/sys/compat/freebsd32/freebsd32_misc.c user/dchagin/lemul/sys/conf/NOTES user/dchagin/lemul/sys/conf/files user/dchagin/lemul/sys/conf/files.amd64 user/dchagin/lemul/sys/conf/files.i386 user/dchagin/lemul/sys/conf/kmod.mk user/dchagin/lemul/sys/conf/options user/dchagin/lemul/sys/dev/acpi_support/acpi_ibm.c user/dchagin/lemul/sys/dev/acpica/acpi.c user/dchagin/lemul/sys/dev/agp/agp.c user/dchagin/lemul/sys/dev/agp/agp_amd.c user/dchagin/lemul/sys/dev/agp/agp_amd64.c user/dchagin/lemul/sys/dev/agp/agp_apple.c user/dchagin/lemul/sys/dev/agp/agp_ati.c user/dchagin/lemul/sys/dev/agp/agp_i810.c user/dchagin/lemul/sys/dev/agp/agppriv.h user/dchagin/lemul/sys/dev/agp/agpvar.h user/dchagin/lemul/sys/dev/ahci/ahci.c user/dchagin/lemul/sys/dev/asmc/asmc.c user/dchagin/lemul/sys/dev/cxgbe/tom/t4_cpl_io.c user/dchagin/lemul/sys/dev/drm2/drm_agpsupport.c user/dchagin/lemul/sys/dev/drm2/drm_edid.c user/dchagin/lemul/sys/dev/drm2/drm_fb_helper.c user/dchagin/lemul/sys/dev/drm2/drm_fb_helper.h user/dchagin/lemul/sys/dev/drm2/radeon/radeon.h user/dchagin/lemul/sys/dev/drm2/radeon/radeon_connectors.c user/dchagin/lemul/sys/dev/drm2/radeon/radeon_device.c user/dchagin/lemul/sys/dev/drm2/radeon/radeon_ttm.c user/dchagin/lemul/sys/dev/drm2/ttm/ttm_agp_backend.c user/dchagin/lemul/sys/dev/drm2/ttm/ttm_bo_driver.h user/dchagin/lemul/sys/dev/drm2/ttm/ttm_bo_util.c user/dchagin/lemul/sys/dev/drm2/ttm/ttm_page_alloc.c user/dchagin/lemul/sys/dev/glxsb/glxsb.c user/dchagin/lemul/sys/dev/gpio/gpiobus.c user/dchagin/lemul/sys/dev/gpio/gpiobus_if.m user/dchagin/lemul/sys/dev/gpio/gpiobusvar.h user/dchagin/lemul/sys/dev/gpio/gpioiic.c user/dchagin/lemul/sys/dev/gpio/gpioled.c user/dchagin/lemul/sys/dev/hwpmc/hwpmc_mod.c user/dchagin/lemul/sys/dev/ida/ida_eisa.c user/dchagin/lemul/sys/dev/iscsi/icl.c user/dchagin/lemul/sys/dev/iscsi/icl.h user/dchagin/lemul/sys/dev/iscsi/iscsi.c user/dchagin/lemul/sys/dev/random/dummy_rng.c user/dchagin/lemul/sys/dev/random/hash.c user/dchagin/lemul/sys/dev/random/hash.h user/dchagin/lemul/sys/dev/random/ivy.c user/dchagin/lemul/sys/dev/random/live_entropy_sources.c user/dchagin/lemul/sys/dev/random/live_entropy_sources.h user/dchagin/lemul/sys/dev/random/nehemiah.c user/dchagin/lemul/sys/dev/random/random_adaptors.c user/dchagin/lemul/sys/dev/random/random_adaptors.h user/dchagin/lemul/sys/dev/random/random_harvestq.c user/dchagin/lemul/sys/dev/random/random_harvestq.h user/dchagin/lemul/sys/dev/random/randomdev.c user/dchagin/lemul/sys/dev/random/randomdev.h user/dchagin/lemul/sys/dev/random/randomdev_soft.c user/dchagin/lemul/sys/dev/random/randomdev_soft.h user/dchagin/lemul/sys/dev/random/yarrow.c user/dchagin/lemul/sys/dev/random/yarrow.h user/dchagin/lemul/sys/dev/safe/safe.c user/dchagin/lemul/sys/dev/sound/isa/gusc.c user/dchagin/lemul/sys/dev/sound/isa/sb16.c user/dchagin/lemul/sys/dev/sound/isa/sbc.c user/dchagin/lemul/sys/dev/sound/midi/sequencer.c user/dchagin/lemul/sys/dev/sound/pci/als4000.c user/dchagin/lemul/sys/dev/sound/pci/cs4281.c user/dchagin/lemul/sys/dev/sound/pci/csa.c user/dchagin/lemul/sys/dev/sound/pci/emu10kx.c user/dchagin/lemul/sys/dev/sound/pci/envy24.c user/dchagin/lemul/sys/dev/sound/pci/envy24ht.c user/dchagin/lemul/sys/dev/sound/pci/maestro.c user/dchagin/lemul/sys/dev/sound/pci/spicds.c user/dchagin/lemul/sys/dev/sound/pci/vibes.c user/dchagin/lemul/sys/dev/sound/pcm/dsp.c user/dchagin/lemul/sys/dev/sound/pcm/mixer.c user/dchagin/lemul/sys/dev/sound/pcm/sound.c user/dchagin/lemul/sys/dev/sound/pcm/sound.h user/dchagin/lemul/sys/dev/usb/usb_hub.c user/dchagin/lemul/sys/dev/virtio/console/virtio_console.c user/dchagin/lemul/sys/dev/vt/vt.h user/dchagin/lemul/sys/dev/vt/vt_buf.c user/dchagin/lemul/sys/dev/vt/vt_core.c user/dchagin/lemul/sys/fs/devfs/devfs_vnops.c user/dchagin/lemul/sys/fs/nfsclient/nfs_clvfsops.c user/dchagin/lemul/sys/geom/geom_dev.c user/dchagin/lemul/sys/i386/conf/NOTES user/dchagin/lemul/sys/i386/i386/genassym.c user/dchagin/lemul/sys/i386/i386/initcpu.c user/dchagin/lemul/sys/i386/i386/locore.s user/dchagin/lemul/sys/i386/i386/machdep.c user/dchagin/lemul/sys/i386/i386/mp_machdep.c user/dchagin/lemul/sys/i386/i386/ptrace_machdep.c user/dchagin/lemul/sys/i386/i386/support.s user/dchagin/lemul/sys/i386/i386/sys_machdep.c user/dchagin/lemul/sys/i386/i386/trap.c user/dchagin/lemul/sys/i386/i386/vm86bios.s user/dchagin/lemul/sys/i386/i386/vm_machdep.c user/dchagin/lemul/sys/i386/include/cpufunc.h user/dchagin/lemul/sys/i386/include/md_var.h user/dchagin/lemul/sys/i386/include/npx.h user/dchagin/lemul/sys/i386/include/pcb.h user/dchagin/lemul/sys/i386/isa/npx.c user/dchagin/lemul/sys/i386/linux/linux_ptrace.c user/dchagin/lemul/sys/i386/linux/linux_sysvec.c user/dchagin/lemul/sys/i386/svr4/svr4_machdep.c user/dchagin/lemul/sys/i386/xen/mp_machdep.c user/dchagin/lemul/sys/kern/init_main.c user/dchagin/lemul/sys/kern/kern_cons.c user/dchagin/lemul/sys/kern/kern_descrip.c user/dchagin/lemul/sys/kern/kern_exec.c user/dchagin/lemul/sys/kern/kern_ffclock.c user/dchagin/lemul/sys/kern/kern_intr.c user/dchagin/lemul/sys/kern/kern_lock.c user/dchagin/lemul/sys/kern/kern_mutex.c user/dchagin/lemul/sys/kern/kern_prot.c user/dchagin/lemul/sys/kern/kern_rwlock.c user/dchagin/lemul/sys/kern/kern_sx.c user/dchagin/lemul/sys/kern/kern_syscalls.c user/dchagin/lemul/sys/kern/kern_thr.c user/dchagin/lemul/sys/kern/kern_umtx.c user/dchagin/lemul/sys/kern/subr_bus.c user/dchagin/lemul/sys/kern/subr_param.c user/dchagin/lemul/sys/kern/subr_terminal.c user/dchagin/lemul/sys/kern/subr_uio.c user/dchagin/lemul/sys/kern/sys_generic.c user/dchagin/lemul/sys/kern/sys_pipe.c user/dchagin/lemul/sys/kern/uipc_debug.c user/dchagin/lemul/sys/kern/vfs_acl.c user/dchagin/lemul/sys/kern/vfs_export.c user/dchagin/lemul/sys/kern/vfs_lookup.c user/dchagin/lemul/sys/mips/atheros/ar71xx_gpio.c user/dchagin/lemul/sys/mips/cavium/octeon_gpio.c user/dchagin/lemul/sys/mips/conf/PICOSTATION_M2HP.hints user/dchagin/lemul/sys/mips/include/param.h user/dchagin/lemul/sys/mips/rt305x/rt305x_gpio.c user/dchagin/lemul/sys/modules/Makefile user/dchagin/lemul/sys/modules/drm2/drm2/Makefile user/dchagin/lemul/sys/modules/linux/Makefile user/dchagin/lemul/sys/modules/linux64/Makefile user/dchagin/lemul/sys/modules/mrsas/Makefile user/dchagin/lemul/sys/modules/random/Makefile user/dchagin/lemul/sys/modules/sound/sound/Makefile user/dchagin/lemul/sys/modules/svr4/Makefile user/dchagin/lemul/sys/modules/vmm/Makefile user/dchagin/lemul/sys/net/bpf.c user/dchagin/lemul/sys/net/if.c user/dchagin/lemul/sys/net/if_disc.c user/dchagin/lemul/sys/net/if_ethersubr.c user/dchagin/lemul/sys/net/if_faith.c user/dchagin/lemul/sys/net/if_loop.c user/dchagin/lemul/sys/net/if_spppsubr.c user/dchagin/lemul/sys/net/if_stf.c user/dchagin/lemul/sys/net/if_tun.c user/dchagin/lemul/sys/net/if_var.h user/dchagin/lemul/sys/net/route.c user/dchagin/lemul/sys/netgraph/ng_bridge.c user/dchagin/lemul/sys/netgraph/ng_frame_relay.c user/dchagin/lemul/sys/netgraph/ng_iface.c user/dchagin/lemul/sys/netinet/cc/cc.c user/dchagin/lemul/sys/netinet/in_gif.c user/dchagin/lemul/sys/netinet/in_proto.c user/dchagin/lemul/sys/netinet/in_rmx.c user/dchagin/lemul/sys/netinet/sctp_sysctl.c user/dchagin/lemul/sys/netinet/siftr.c user/dchagin/lemul/sys/netinet/tcp_syncache.c user/dchagin/lemul/sys/netinet/tcp_timer.c user/dchagin/lemul/sys/netinet/tcp_timer.h user/dchagin/lemul/sys/netinet/tcp_timewait.c user/dchagin/lemul/sys/netinet/tcp_usrreq.c user/dchagin/lemul/sys/netinet/tcp_var.h user/dchagin/lemul/sys/netinet6/in6.c user/dchagin/lemul/sys/netinet6/in6_ifattach.c user/dchagin/lemul/sys/netinet6/in6_mcast.c user/dchagin/lemul/sys/netinet6/in6_proto.c user/dchagin/lemul/sys/netinet6/in6_rmx.c user/dchagin/lemul/sys/netinet6/in6_var.h user/dchagin/lemul/sys/netinet6/nd6.c user/dchagin/lemul/sys/netipsec/ipsec_input.c user/dchagin/lemul/sys/netipsec/key.c user/dchagin/lemul/sys/netpfil/ipfw/ip_fw_table.c user/dchagin/lemul/sys/ofed/drivers/net/mlx4/mcg.c user/dchagin/lemul/sys/powerpc/powerpc/copyinout.c user/dchagin/lemul/sys/powerpc/wii/wii_gpio.c user/dchagin/lemul/sys/sparc64/include/param.h user/dchagin/lemul/sys/sys/buf_ring.h user/dchagin/lemul/sys/sys/disk.h user/dchagin/lemul/sys/sys/domain.h user/dchagin/lemul/sys/sys/filedesc.h user/dchagin/lemul/sys/sys/lockmgr.h user/dchagin/lemul/sys/sys/param.h user/dchagin/lemul/sys/sys/random.h user/dchagin/lemul/sys/sys/seq.h user/dchagin/lemul/sys/sys/sysctl.h user/dchagin/lemul/sys/sys/sysent.h user/dchagin/lemul/sys/sys/systm.h user/dchagin/lemul/sys/sys/terminal.h user/dchagin/lemul/sys/sys/ucred.h user/dchagin/lemul/sys/sys/user.h user/dchagin/lemul/sys/ufs/ffs/ffs_softdep.c user/dchagin/lemul/sys/vm/default_pager.c user/dchagin/lemul/sys/vm/swap_pager.c user/dchagin/lemul/sys/vm/uma_core.c user/dchagin/lemul/sys/vm/vm_page.c user/dchagin/lemul/sys/x86/acpica/acpi_wakeup.c user/dchagin/lemul/sys/x86/x86/identcpu.c user/dchagin/lemul/sys/x86/x86/tsc.c user/dchagin/lemul/tests/sys/Makefile user/dchagin/lemul/tools/build/mk/OptionalObsoleteFiles.inc user/dchagin/lemul/tools/sched/schedgraph.py user/dchagin/lemul/usr.bin/Makefile user/dchagin/lemul/usr.bin/ftp/Makefile user/dchagin/lemul/usr.bin/hexdump/hexdump.1 user/dchagin/lemul/usr.bin/iconv/Makefile user/dchagin/lemul/usr.bin/id/Makefile user/dchagin/lemul/usr.bin/iscsictl/token.l user/dchagin/lemul/usr.bin/timeout/Makefile user/dchagin/lemul/usr.bin/timeout/timeout.1 user/dchagin/lemul/usr.bin/timeout/timeout.c user/dchagin/lemul/usr.bin/top/machine.c user/dchagin/lemul/usr.bin/w/Makefile user/dchagin/lemul/usr.bin/w/pr_time.c user/dchagin/lemul/usr.bin/w/w.1 user/dchagin/lemul/usr.bin/w/w.c user/dchagin/lemul/usr.bin/wc/Makefile user/dchagin/lemul/usr.bin/wc/wc.1 user/dchagin/lemul/usr.bin/wc/wc.c user/dchagin/lemul/usr.sbin/bhyve/block_if.c user/dchagin/lemul/usr.sbin/bhyve/pci_ahci.c user/dchagin/lemul/usr.sbin/bsdconfig/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/console/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/console/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/diskmgmt/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/diskmgmt/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/docsinstall/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/docsinstall/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/dot/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/dot/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/examples/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/includes/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/includes/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/mouse/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/mouse/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/networking/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/networking/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/networking/share/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/packages/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/packages/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/password/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/password/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/password/share/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/security/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/security/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/share/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/share/media/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/share/packages/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/startup/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/startup/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/startup/share/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/timezone/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/timezone/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/timezone/share/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/ttys/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/ttys/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/usermgmt/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/usermgmt/include/Makefile user/dchagin/lemul/usr.sbin/bsdconfig/usermgmt/share/Makefile user/dchagin/lemul/usr.sbin/bsdinstall/bsdinstall.8 user/dchagin/lemul/usr.sbin/ctladm/ctladm.8 user/dchagin/lemul/usr.sbin/ctld/ctl.conf.5 user/dchagin/lemul/usr.sbin/ctld/ctld.c user/dchagin/lemul/usr.sbin/ctld/ctld.h user/dchagin/lemul/usr.sbin/ctld/discovery.c user/dchagin/lemul/usr.sbin/ctld/login.c user/dchagin/lemul/usr.sbin/ctld/parse.y user/dchagin/lemul/usr.sbin/ctld/token.l user/dchagin/lemul/usr.sbin/etcupdate/etcupdate.8 user/dchagin/lemul/usr.sbin/fifolog/fifolog_reader/Makefile user/dchagin/lemul/usr.sbin/fifolog/fifolog_writer/Makefile user/dchagin/lemul/usr.sbin/iscsid/Makefile user/dchagin/lemul/usr.sbin/pkg/Makefile user/dchagin/lemul/usr.sbin/pw/pw_group.c user/dchagin/lemul/usr.sbin/pw/pw_user.c user/dchagin/lemul/usr.sbin/pw/tests/Makefile user/dchagin/lemul/usr.sbin/pw/tests/pw_delete.sh user/dchagin/lemul/usr.sbin/pw/tests/pw_modify.sh user/dchagin/lemul/usr.sbin/rpcbind/Makefile user/dchagin/lemul/usr.sbin/sysrc/sysrc user/dchagin/lemul/usr.sbin/sysrc/sysrc.8 Directory Properties: user/dchagin/lemul/ (props changed) user/dchagin/lemul/contrib/atf/ (props changed) user/dchagin/lemul/contrib/mtree/ (props changed) user/dchagin/lemul/contrib/openpam/ (props changed) user/dchagin/lemul/contrib/tnftp/ (props changed) user/dchagin/lemul/etc/ (props changed) user/dchagin/lemul/lib/libc/ (props changed) user/dchagin/lemul/lib/libutil/ (props changed) user/dchagin/lemul/sbin/ (props changed) user/dchagin/lemul/share/ (props changed) user/dchagin/lemul/share/man/man4/ (props changed) user/dchagin/lemul/sys/ (props changed) user/dchagin/lemul/sys/amd64/vmm/ (props changed) user/dchagin/lemul/sys/boot/ (props changed) user/dchagin/lemul/sys/cddl/contrib/opensolaris/ (props changed) user/dchagin/lemul/sys/conf/ (props changed) user/dchagin/lemul/sys/modules/vmm/ (props changed) user/dchagin/lemul/usr.sbin/bhyve/ (props changed) Modified: user/dchagin/lemul/MAINTAINERS ============================================================================== --- user/dchagin/lemul/MAINTAINERS Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/MAINTAINERS Thu Nov 6 21:49:35 2014 (r274196) @@ -78,7 +78,6 @@ inetd dwmalone Recommends pre-commit re contrib/smbfs bp Open for in-tree committs. In case of functional changes pre-commit review requested. contrib/pf glebius Pre-commit review recommended. -binutils obrien Insists on BU blocked from unapproved commits file obrien Insists to keep file blocked from other's unapproved commits contrib/bzip2 obrien Pre-commit review required. Modified: user/dchagin/lemul/ObsoleteFiles.inc ============================================================================== --- user/dchagin/lemul/ObsoleteFiles.inc Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/ObsoleteFiles.inc Thu Nov 6 21:49:35 2014 (r274196) @@ -38,6 +38,15 @@ # xargs -n1 | sort | uniq -d; # done +# 20141102: postrandom obsoleted by new /dev/random code +OLD_FILES+=etc/rc.d/postrandom +# 20141031: initrandom obsoleted by new /dev/random code +OLD_FILES+=etc/rc.d/initrandom +# 20141028: debug files accidentally installed as directory name +OLD_FILES+=usr/lib/debug/usr/lib/i18n +OLD_FILES+=usr/lib/debug/usr/lib/private +OLD_FILES+=usr/lib/debug/usr/lib32/i18n +OLD_FILES+=usr/lib/debug/usr/lib32/private # 20141015: OpenSSL 1.0.1j import OLD_FILES+=usr/share/openssl/man/man3/CMS_sign_add1_signer.3.gz # 20140922: sleepq_calc_signal_retval.9 and sleepq_catch_signals.9 removed @@ -46,7 +55,6 @@ OLD_FILES+=usr/share/man/man9/sleepq_cat # 20140917: hv_kvpd rc.d script removed in favor of devd configuration OLD_FILES+=etc/rc.d/hv_kvpd # 20140917: libnv was accidentally being installed to /usr/lib instead of /lib -OLD_LIBS+=usr/lib/libnv.a OLD_LIBS+=usr/lib/libnv.so.0 # 20140829: rc.d/kerberos removed OLD_FILES+=etc/rc.d/kerberos @@ -368,7 +376,6 @@ OLD_FILES+=usr/share/man/man1/atf-report OLD_FILES+=usr/share/man/man1/atf-run.1.gz OLD_FILES+=usr/share/man/man1/atf-version.1.gz OLD_FILES+=usr/share/man/man5/atf-formats.5.gz -OLD_FILES+=usr/share/man/man7/atf.7.gz OLD_FILES+=usr/share/xml/atf/tests-results.dtd OLD_FILES+=usr/share/xsl/atf/tests-results.xsl # 20131009: freebsd-version moved from /libexec to /bin Modified: user/dchagin/lemul/UPDATING ============================================================================== --- user/dchagin/lemul/UPDATING Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/UPDATING Thu Nov 6 21:49:35 2014 (r274196) @@ -31,6 +31,29 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20141104: + vt(4), the new console driver, is enabled by default. It brings + support for Unicode and double-width characters, as well as + support for UEFI and integration with the KMS kernel video + drivers. + + You may need to update your console settings in /etc/rc.conf, + most probably the keymap. During boot, /etc/rc.d/syscons will + indicate what you need to do. + + vt(4) still has issues and lacks some features compared to + syscons(4). See the wiki for up-to-date information: + https://wiki.freebsd.org/Newcons + + If you want to keep using syscons(4), you can do so by adding + the following line to /boot/loader.conf: + kern.vty=sc + +20141102: + pjdfstest has been integrated into kyua as an opt-in test suite. + Please see share/doc/pjdfstest/README for a more details on how to + execute it. + 20141009: gperf has been removed from the base system for architectures that use clang. Ports that require gperf will obtain it from the Modified: user/dchagin/lemul/bin/sh/expand.c ============================================================================== --- user/dchagin/lemul/bin/sh/expand.c Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/bin/sh/expand.c Thu Nov 6 21:49:35 2014 (r274196) @@ -862,7 +862,7 @@ varisset(const char *name, int nulok) static void strtodest(const char *p, int flag, int subtype, int quoted) { - if (flag & (EXP_FULL | EXP_CASE) && subtype != VSLENGTH) + if (flag & (EXP_FULL | EXP_CASE | EXP_REDIR) && subtype != VSLENGTH) STPUTS_QUOTES(p, quoted ? DQSYNTAX : BASESYNTAX, expdest); else STPUTS(p, expdest); @@ -878,7 +878,7 @@ varvalue(const char *name, int quoted, i int num; char *p; int i; - char sep; + char sep[2]; char **ap; switch (*name) { @@ -912,15 +912,18 @@ varvalue(const char *name, int quoted, i /* FALLTHROUGH */ case '*': if (ifsset()) - sep = ifsval()[0]; + sep[0] = ifsval()[0]; else - sep = ' '; + sep[0] = ' '; + sep[1] = '\0'; for (ap = shellparam.p ; (p = *ap++) != NULL ; ) { strtodest(p, flag, subtype, quoted); if (!*ap) break; - if (sep || (flag & EXP_FULL && !quoted && **ap != '\0')) - STPUTC(sep, expdest); + if (sep[0]) + strtodest(sep, flag, subtype, quoted); + else if (flag & EXP_FULL && !quoted && **ap != '\0') + STPUTC('\0', expdest); } return; default: Modified: user/dchagin/lemul/bin/sh/tests/expansion/Makefile ============================================================================== --- user/dchagin/lemul/bin/sh/tests/expansion/Makefile Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/bin/sh/tests/expansion/Makefile Thu Nov 6 21:49:35 2014 (r274196) @@ -72,6 +72,7 @@ FILES+= plus-minus7.0 FILES+= plus-minus8.0 FILES+= question1.0 FILES+= readonly1.0 +FILES+= redir1.0 FILES+= set-u1.0 FILES+= set-u2.0 FILES+= set-u3.0 Copied: user/dchagin/lemul/bin/sh/tests/expansion/redir1.0 (from r274195, head/bin/sh/tests/expansion/redir1.0) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/dchagin/lemul/bin/sh/tests/expansion/redir1.0 Thu Nov 6 21:49:35 2014 (r274196, copy of r274195, head/bin/sh/tests/expansion/redir1.0) @@ -0,0 +1,26 @@ +# $FreeBSD$ + +bad=0 +for i in 0 1 2 3; do + for j in 0 1 2 3 4 5 6 7; do + for k in 0 1 2 3 4 5 6 7; do + case $i$j$k in + 000) continue ;; + esac + set -- "$(printf \\$i$j$k@)" + set -- "${1%@}" + ff= + for f in /dev/null /dev/zero /; do + if [ -e "$f" ] && [ ! -e "$f$1" ]; then + ff=$f + fi + done + [ -n "$ff" ] || continue + if { true <$ff$1; } 2>/dev/null; then + echo "Bad: $i$j$k ($ff)" >&2 + : $((bad += 1)) + fi + done + done +done +exit $((bad ? 2 : 0)) Modified: user/dchagin/lemul/bin/sh/tests/parameters/Makefile ============================================================================== --- user/dchagin/lemul/bin/sh/tests/parameters/Makefile Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/bin/sh/tests/parameters/Makefile Thu Nov 6 21:49:35 2014 (r274196) @@ -18,6 +18,8 @@ FILES+= positional2.0 FILES+= positional3.0 FILES+= positional4.0 FILES+= positional5.0 +FILES+= positional6.0 +FILES+= positional7.0 FILES+= pwd1.0 FILES+= pwd2.0 Copied: user/dchagin/lemul/bin/sh/tests/parameters/positional6.0 (from r274195, head/bin/sh/tests/parameters/positional6.0) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/dchagin/lemul/bin/sh/tests/parameters/positional6.0 Thu Nov 6 21:49:35 2014 (r274196, copy of r274195, head/bin/sh/tests/parameters/positional6.0) @@ -0,0 +1,7 @@ +# $FreeBSD$ + +IFS=? +set p r +v=pqrs +r=${v#"$*"} +[ "$r" = pqrs ] Copied: user/dchagin/lemul/bin/sh/tests/parameters/positional7.0 (from r274195, head/bin/sh/tests/parameters/positional7.0) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/dchagin/lemul/bin/sh/tests/parameters/positional7.0 Thu Nov 6 21:49:35 2014 (r274196, copy of r274195, head/bin/sh/tests/parameters/positional7.0) @@ -0,0 +1,8 @@ +# $FreeBSD$ + +set -- / '' +IFS=* +set -- "$*" +IFS=: +args="$*" +[ "$#:$args" = "1:/*" ] Modified: user/dchagin/lemul/contrib/atf/FREEBSD-Xlist ============================================================================== --- user/dchagin/lemul/contrib/atf/FREEBSD-Xlist Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/contrib/atf/FREEBSD-Xlist Thu Nov 6 21:49:35 2014 (r274196) @@ -1,22 +1,12 @@ -*/*/Atffile */*/Makefile* -*/Atffile */Makefile* */*.m4 */*.pc.in -Atffile INSTALL Makefile* aclocal.m4 admin/ -atf-config/ -atf-report/ -atf-run/ -atf-version/ -bconfig.h.in +config.h.in bootstrap/ configure* -doc/atf-formats.5 -doc/atf.7.in m4/ -tools/ Modified: user/dchagin/lemul/contrib/atf/NEWS ============================================================================== --- user/dchagin/lemul/contrib/atf/NEWS Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/contrib/atf/NEWS Thu Nov 6 21:49:35 2014 (r274196) @@ -1,6 +1,62 @@ Major changes between releases Automated Testing Framework =========================================================================== +Changes in version 0.21 +*********************** + +Released on October 23rd, 2014. + +* Restored the atf(7) manual page to serve as a reference to all the other + manual pages shipped by ATF. + +* Added the -s flag to atf-sh to support specifying the shell interpreter + to be used. + +* Removed ATF_WORKDIR. The only remaining consumers have been converted to + use the standard TMPDIR environment variable. As a benefit, and because + Kyua forces the TMPDIR to live within the test case's work directory, + any stale files left behind by ATF will be automatically cleaned up. + +* Documented the environment variables recognized by each component in the + relevant manual pages. This information was lost with the atf-config(1) + removal. + +* Added a new "require.diskspace" metadata property to test cases so that + they can specify the minimum amount of disk space required for the test + to run. + +* Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for + discoverability purposes. Symbolic links are provided for the time + being to still make the old names visible. + +* Issue #5: Recommend the (expected, actual) idiom for calls to the test + macros in the manual pages. + +* Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This + propagates the crash to the caller, which in turn allows it to obtain + proper debugging information. In particular, Kyua should now be able to + extract a stacktrace pinpointing the problem. + +* Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang + that ships with FreeBSD 11.0-CURRENT. + +* Issue #12: Improved documentation of atf-sh(3) and atf-check(1) by better + explaining how they relate to each other. + +* Issue #14: Stopped setting 'set -e' in atf-sh. This setting was + initially added as a way to enable a "strict" mode in the library and to + make test cases fail fast when they run unprotected commands. However, + doing so in the library is surprising as the responsibility of enabling + 'set -e' should be on the user's code. Also, 'set -e' introduces + inconsistent behavior on subshells and users do not expect that. + +* Issue #15: Fixed atf_utils_{fork,wait} to support nested calls. + +* Issue #16: Fixed test failures (by removing a long-standing hack) on + systems that lack \e support in printf(1). + +* Issue #19: Removed stale references to atf-config and atf-run. + Changes in version 0.20 *********************** Modified: user/dchagin/lemul/contrib/atf/atf-c++.hpp ============================================================================== --- user/dchagin/lemul/contrib/atf/atf-c++.hpp Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/contrib/atf/atf-c++.hpp Thu Nov 6 21:49:35 2014 (r274196) @@ -1,6 +1,3 @@ -// -// Automated Testing Framework (atf) -// // Copyright (c) 2007 The NetBSD Foundation, Inc. // All rights reserved. // @@ -25,12 +22,11 @@ // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN // IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -#if !defined(_ATF_CXX_HPP_) -#define _ATF_CXX_HPP_ +#if !defined(ATF_CXX_HPP) +#define ATF_CXX_HPP #include <atf-c++/macros.hpp> #include <atf-c++/utils.hpp> -#endif // !defined(_ATF_CXX_HPP_) +#endif // !defined(ATF_CXX_HPP) Modified: user/dchagin/lemul/contrib/atf/atf-c++/Kyuafile ============================================================================== --- user/dchagin/lemul/contrib/atf/atf-c++/Kyuafile Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/contrib/atf/atf-c++/Kyuafile Thu Nov 6 21:49:35 2014 (r274196) @@ -5,7 +5,6 @@ test_suite("atf") atf_test_program{name="atf_c++_test"} atf_test_program{name="build_test"} atf_test_program{name="check_test"} -atf_test_program{name="config_test"} atf_test_program{name="macros_test"} atf_test_program{name="pkg_config_test"} atf_test_program{name="tests_test"} Copied: user/dchagin/lemul/contrib/atf/atf-c++/atf-c++.3 (from r274195, head/contrib/atf/atf-c++/atf-c++.3) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/dchagin/lemul/contrib/atf/atf-c++/atf-c++.3 Thu Nov 6 21:49:35 2014 (r274196, copy of r274195, head/contrib/atf/atf-c++/atf-c++.3) @@ -0,0 +1,649 @@ +.\" Copyright (c) 2008 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND +.\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.Dd October 13, 2014 +.Dt ATF-C++ 3 +.Os +.Sh NAME +.Nm atf-c++ , +.Nm ATF_ADD_TEST_CASE , +.Nm ATF_CHECK_ERRNO , +.Nm ATF_FAIL , +.Nm ATF_INIT_TEST_CASES , +.Nm ATF_PASS , +.Nm ATF_REQUIRE , +.Nm ATF_REQUIRE_EQ , +.Nm ATF_REQUIRE_ERRNO , +.Nm ATF_REQUIRE_IN , +.Nm ATF_REQUIRE_MATCH , +.Nm ATF_REQUIRE_NOT_IN , +.Nm ATF_REQUIRE_THROW , +.Nm ATF_REQUIRE_THROW_RE , +.Nm ATF_SKIP , +.Nm ATF_TEST_CASE , +.Nm ATF_TEST_CASE_BODY , +.Nm ATF_TEST_CASE_CLEANUP , +.Nm ATF_TEST_CASE_HEAD , +.Nm ATF_TEST_CASE_NAME , +.Nm ATF_TEST_CASE_USE , +.Nm ATF_TEST_CASE_WITH_CLEANUP , +.Nm ATF_TEST_CASE_WITHOUT_HEAD , +.Nm atf::utils::cat_file , +.Nm atf::utils::compare_file , +.Nm atf::utils::copy_file , +.Nm atf::utils::create_file , +.Nm atf::utils::file_exists , +.Nm atf::utils::fork , +.Nm atf::utils::grep_collection , +.Nm atf::utils::grep_file , +.Nm atf::utils::grep_string , +.Nm atf::utils::redirect , +.Nm atf::utils::wait +.Nd C++ API to write ATF-based test programs +.Sh SYNOPSIS +.In atf-c++.hpp +.Fn ATF_ADD_TEST_CASE "tcs" "name" +.Fn ATF_CHECK_ERRNO "expected_errno" "bool_expression" +.Fn ATF_FAIL "reason" +.Fn ATF_INIT_TEST_CASES "tcs" +.Fn ATF_PASS +.Fn ATF_REQUIRE "expression" +.Fn ATF_REQUIRE_EQ "expected_expression" "actual_expression" +.Fn ATF_REQUIRE_ERRNO "expected_errno" "bool_expression" +.Fn ATF_REQUIRE_IN "element" "collection" +.Fn ATF_REQUIRE_MATCH "regexp" "string_expression" +.Fn ATF_REQUIRE_NOT_IN "element" "collection" +.Fn ATF_REQUIRE_THROW "expected_exception" "statement" +.Fn ATF_REQUIRE_THROW_RE "expected_exception" "regexp" "statement" +.Fn ATF_SKIP "reason" +.Fn ATF_TEST_CASE "name" +.Fn ATF_TEST_CASE_BODY "name" +.Fn ATF_TEST_CASE_CLEANUP "name" +.Fn ATF_TEST_CASE_HEAD "name" +.Fn ATF_TEST_CASE_NAME "name" +.Fn ATF_TEST_CASE_USE "name" +.Fn ATF_TEST_CASE_WITH_CLEANUP "name" +.Fn ATF_TEST_CASE_WITHOUT_HEAD "name" +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc +.Sh DESCRIPTION +ATF provides a C++ programming interface to implement test programs. +C++-based test programs follow this template: +.Bd -literal -offset indent +extern "C" { +.Ns ... C-specific includes go here ... +} + +.Ns ... C++-specific includes go here ... + +#include <atf-c++.hpp> + +ATF_TEST_CASE(tc1); +ATF_TEST_CASE_HEAD(tc1) +{ + ... first test case's header ... +} +ATF_TEST_CASE_BODY(tc1) +{ + ... first test case's body ... +} + +ATF_TEST_CASE_WITH_CLEANUP(tc2); +ATF_TEST_CASE_HEAD(tc2) +{ + ... second test case's header ... +} +ATF_TEST_CASE_BODY(tc2) +{ + ... second test case's body ... +} +ATF_TEST_CASE_CLEANUP(tc2) +{ + ... second test case's cleanup ... +} + +ATF_TEST_CASE(tc3); +ATF_TEST_CASE_BODY(tc3) +{ + ... third test case's body ... +} + +.Ns ... additional test cases ... + +ATF_INIT_TEST_CASES(tcs) +{ + ATF_ADD_TEST_CASE(tcs, tc1); + ATF_ADD_TEST_CASE(tcs, tc2); + ATF_ADD_TEST_CASE(tcs, tc3); + ... add additional test cases ... +} +.Ed +.Ss Definition of test cases +Test cases have an identifier and are composed of three different parts: +the header, the body and an optional cleanup routine, all of which are +described in +.Xr atf-test-case 4 . +To define test cases, one can use the +.Fn ATF_TEST_CASE , +.Fn ATF_TEST_CASE_WITH_CLEANUP +or the +.Fn ATF_TEST_CASE_WITHOUT_HEAD +macros, which take a single parameter specifiying the test case's +name. +.Fn ATF_TEST_CASE , +requires to define a head and a body for the test case, +.Fn ATF_TEST_CASE_WITH_CLEANUP +requires to define a head, a body and a cleanup for the test case and +.Fn ATF_TEST_CASE_WITHOUT_HEAD +requires only a body for the test case. +It is important to note that these +.Em do not +set the test case up for execution when the program is run. +In order to do so, a later registration is needed through the +.Fn ATF_ADD_TEST_CASE +macro detailed in +.Sx Program initialization . +.Pp +Later on, one must define the three parts of the body by means of three +functions. +Their headers are given by the +.Fn ATF_TEST_CASE_HEAD , +.Fn ATF_TEST_CASE_BODY +and +.Fn ATF_TEST_CASE_CLEANUP +macros, all of which take the test case's name. +Following each of these, a block of code is expected, surrounded by the +opening and closing brackets. +.Pp +Additionally, the +.Fn ATF_TEST_CASE_NAME +macro can be used to obtain the name of the class corresponding to a +particular test case, as the name is internally manged by the library to +prevent clashes with other user identifiers. +Similarly, the +.Fn ATF_TEST_CASE_USE +macro can be executed on a particular test case to mark it as "used" and +thus prevent compiler warnings regarding unused symbols. +Note that +.Em you should never have to use these macros during regular operation. +.Ss Program initialization +The library provides a way to easily define the test program's +.Fn main +function. +You should never define one on your own, but rely on the +library to do it for you. +This is done by using the +.Fn ATF_INIT_TEST_CASES +macro, which is passed the name of the list that will hold the test cases. +This name can be whatever you want as long as it is a valid variable value. +.Pp +After the macro, you are supposed to provide the body of a function, which +should only use the +.Fn ATF_ADD_TEST_CASE +macro to register the test cases the test program will execute. +The first parameter of this macro matches the name you provided in the +former call. +.Ss Header definitions +The test case's header can define the meta-data by using the +.Fn set_md_var +method, which takes two parameters: the first one specifies the +meta-data variable to be set and the second one specifies its value. +Both of them are strings. +.Ss Configuration variables +The test case has read-only access to the current configuration variables +by means of the +.Ft bool +.Fn has_config_var +and the +.Ft std::string +.Fn get_config_var +methods, which can be called in any of the three parts of a test case. +.Ss Access to the source directory +It is possible to get the path to the test case's source directory from any +of its three components by querying the +.Sq srcdir +configuration variable. +.Ss Requiring programs +Aside from the +.Va require.progs +meta-data variable available in the header only, one can also check for +additional programs in the test case's body by using the +.Fn require_prog +function, which takes the base name or full path of a single binary. +Relative paths are forbidden. +If it is not found, the test case will be automatically skipped. +.Ss Test case finalization +The test case finalizes either when the body reaches its end, at which +point the test is assumed to have +.Em passed , +or at any explicit call to +.Fn ATF_PASS , +.Fn ATF_FAIL +or +.Fn ATF_SKIP . +These three macros terminate the execution of the test case immediately. +The cleanup routine will be processed afterwards in a completely automated +way, regardless of the test case's termination reason. +.Pp +.Fn ATF_PASS +does not take any parameters. +.Fn ATF_FAIL +and +.Fn ATF_SKIP +take a single string that describes why the test case failed or +was skipped, respectively. +It is very important to provide a clear error message in both cases so that +the user can quickly know why the test did not pass. +.Ss Expectations +Everything explained in the previous section changes when the test case +expectations are redefined by the programmer. +.Pp +Each test case has an internal state called +.Sq expect +that describes what the test case expectations are at any point in time. +The value of this property can change during execution by any of: +.Bl -tag -width indent +.It Fn expect_death "reason" +Expects the test case to exit prematurely regardless of the nature of the +exit. +.It Fn expect_exit "exitcode" "reason" +Expects the test case to exit cleanly. +If +.Va exitcode +is not +.Sq -1 , +the runtime engine will validate that the exit code of the test case +matches the one provided in this call. +Otherwise, the exact value will be ignored. +.It Fn expect_fail "reason" +Any failure (be it fatal or non-fatal) raised in this mode is recorded. +However, such failures do not report the test case as failed; instead, the +test case finalizes cleanly and is reported as +.Sq expected failure ; +this report includes the provided +.Fa reason +as part of it. +If no error is raised while running in this mode, then the test case is +reported as +.Sq failed . +.Pp +This mode is useful to reproduce actual known bugs in tests. +Whenever the developer fixes the bug later on, the test case will start +reporting a failure, signaling the developer that the test case must be +adjusted to the new conditions. +In this situation, it is useful, for example, to set +.Fa reason +as the bug number for tracking purposes. +.It Fn expect_pass +This is the normal mode of execution. +In this mode, any failure is reported as such to the user and the test case +is marked as +.Sq failed . +.It Fn expect_race "reason" +Any failure or timeout during the execution of the test case will be +considered as if a race condition has been triggered and reported as such. +If no problems arise, the test will continue execution as usual. +.It Fn expect_signal "signo" "reason" +Expects the test case to terminate due to the reception of a signal. +If +.Va signo +is not +.Sq -1 , +the runtime engine will validate that the signal that terminated the test +case matches the one provided in this call. +Otherwise, the exact value will be ignored. +.It Fn expect_timeout "reason" +Expects the test case to execute for longer than its timeout. +.El +.Ss Helper macros for common checks +The library provides several macros that are very handy in multiple +situations. +These basically check some condition after executing a given statement or +processing a given expression and, if the condition is not met, they +automatically call +.Fn ATF_FAIL +with an appropriate error message. +.Pp +.Fn ATF_REQUIRE +takes an expression and raises a failure if it evaluates to false. +.Pp +.Fn ATF_REQUIRE_EQ +takes two expressions and raises a failure if the two do not evaluate to +the same exact value. +The common style is to put the expected value in the first parameter and the +actual value in the second parameter. +.Pp +.Fn ATF_REQUIRE_IN +takes an element and a collection and validates that the element is present in +the collection. +.Pp +.Fn ATF_REQUIRE_MATCH +takes a regular expression and a string and raises a failure if the regular +expression does not match the string. +.Pp +.Fn ATF_REQUIRE_NOT_IN +takes an element and a collection and validates that the element is not present +in the collection. +.Pp +.Fn ATF_REQUIRE_THROW +takes the name of an exception and a statement and raises a failure if +the statement does not throw the specified exception. +.Fn ATF_REQUIRE_THROW_RE +takes the name of an exception, a regular expresion and a statement and raises a +failure if the statement does not throw the specified exception and if the +message of the exception does not match the regular expression. +.Pp +.Fn ATF_CHECK_ERRNO +and +.Fn ATF_REQUIRE_ERRNO +take, first, the error code that the check is expecting to find in the +.Va errno +variable and, second, a boolean expression that, if evaluates to true, +means that a call failed and +.Va errno +has to be checked against the first value. +.Ss Utility functions +The following functions are provided as part of the +.Nm +API to simplify the creation of a variety of tests. +In particular, these are useful to write tests for command-line interfaces. +.Pp +.Ft void +.Fo atf::utils::cat_file +.Fa "const std::string& path" +.Fa "const std::string& prefix" +.Fc +.Bd -ragged -offset indent +Prints the contents of +.Fa path +to the standard output, prefixing every line with the string in +.Fa prefix . +.Ed +.Pp +.Ft bool +.Fo atf::utils::compare_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Returns true if the given +.Fa path +matches exactly the expected inlined +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::copy_file +.Fa "const std::string& source" +.Fa "const std::string& destination" +.Fc +.Bd -ragged -offset indent +Copies the file +.Fa source +to +.Fa destination . +The permissions of the file are preserved during the code. +.Ed +.Pp +.Ft void +.Fo atf::utils::create_file +.Fa "const std::string& path" +.Fa "const std::string& contents" +.Fc +.Bd -ragged -offset indent +Creates +.Fa file +with the text given in +.Fa contents . +.Ed +.Pp +.Ft void +.Fo atf::utils::file_exists +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Checks if +.Fa path +exists. +.Ed +.Pp +.Ft pid_t +.Fo atf::utils::fork +.Fa "void" +.Fc +.Bd -ragged -offset indent +Forks a process and redirects the standard output and standard error of the +child to files for later validation with +.Fn atf::utils::wait . +Fails the test case if the fork fails, so this does not return an error. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_collection +.Fa "const std::string& regexp" +.Fa "const Collection& collection" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in any of the strings contained in the +.Fa collection . +This is a template that accepts any one-dimensional container of strings. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_file +.Fa "const std::string& regexp" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the file +.Fa path . +The variable arguments are used to construct the regular expression. +.Ed +.Pp +.Ft bool +.Fo atf::utils::grep_string +.Fa "const std::string& regexp" +.Fa "const std::string& str" +.Fc +.Bd -ragged -offset indent +Searches for the regular expression +.Fa regexp +in the string +.Fa str . +.Ed +.Ft void +.Fo atf::utils::redirect +.Fa "const int fd" +.Fa "const std::string& path" +.Fc +.Bd -ragged -offset indent +Redirects the given file descriptor +.Fa fd +to the file +.Fa path . +This function exits the process in case of an error and does not properly mark +the test case as failed. +As a result, it should only be used in subprocesses of the test case; specially +those spawned by +.Fn atf::utils::fork . +.Ed +.Pp +.Ft void +.Fo atf::utils::wait +.Fa "const pid_t pid" +.Fa "const int expected_exit_status" +.Fa "const std::string& expected_stdout" +.Fa "const std::string& expected_stderr" +.Fc +.Bd -ragged -offset indent +Waits and validates the result of a subprocess spawned with +.Fn atf::utils::wait . +The validation involves checking that the subprocess exited cleanly and returned +the code specified in +.Fa expected_exit_status +and that its standard output and standard error match the strings given in +.Fa expected_stdout +and +.Fa expected_stderr . +.Pp +If any of the +.Fa expected_stdout +or +.Fa expected_stderr +strings are prefixed with +.Sq save: , +then they specify the name of the file into which to store the stdout or stderr +of the subprocess, and no comparison is performed. +.Ed +.Sh ENVIRONMENT +The following variables are recognized by +.Nm +but should not be overridden other than for testing purposes: +.Pp +.Bl -tag -width ATFXBUILDXCXXFLAGSXX -compact +.It Va ATF_BUILD_CC +Path to the C compiler. +.It Va ATF_BUILD_CFLAGS +C compiler flags. +.It Va ATF_BUILD_CPP +Path to the C/C++ preprocessor. +.It Va ATF_BUILD_CPPFLAGS +C/C++ preprocessor flags. +.It Va ATF_BUILD_CXX +Path to the C++ compiler. +.It Va ATF_BUILD_CXXFLAGS +C++ compiler flags. +.El +.Sh EXAMPLES +The following shows a complete test program with a single test case that +validates the addition operator: +.Bd -literal -offset indent +#include <atf-c++.hpp> + +ATF_TEST_CASE(addition); +ATF_TEST_CASE_HEAD(addition) +{ + set_md_var("descr", "Sample tests for the addition operator"); +} +ATF_TEST_CASE_BODY(addition) +{ + ATF_REQUIRE_EQ(0, 0 + 0); + ATF_REQUIRE_EQ(1, 0 + 1); + ATF_REQUIRE_EQ(1, 1 + 0); + + ATF_REQUIRE_EQ(2, 1 + 1); + + ATF_REQUIRE_EQ(300, 100 + 200); +} + +ATF_TEST_CASE(open_failure); +ATF_TEST_CASE_HEAD(open_failure) +{ + set_md_var("descr", "Sample tests for the open function"); +} +ATF_TEST_CASE_BODY(open_failure) +{ + ATF_REQUIRE_ERRNO(ENOENT, open("non-existent", O_RDONLY) == -1); +} + +ATF_TEST_CASE(known_bug); +ATF_TEST_CASE_HEAD(known_bug) +{ + set_md_var("descr", "Reproduces a known bug"); +} +ATF_TEST_CASE_BODY(known_bug) +{ + expect_fail("See bug number foo/bar"); + ATF_REQUIRE_EQ(3, 1 + 1); + expect_pass(); + ATF_REQUIRE_EQ(3, 1 + 2); +} + +ATF_INIT_TEST_CASES(tcs) +{ + ATF_ADD_TEST_CASE(tcs, addition); + ATF_ADD_TEST_CASE(tcs, open_failure); + ATF_ADD_TEST_CASE(tcs, known_bug); +} +.Ed +.Sh SEE ALSO +.Xr atf-test-program 1 , +.Xr atf-test-case 4 Modified: user/dchagin/lemul/contrib/atf/atf-c++/atf_c++_test.cpp ============================================================================== --- user/dchagin/lemul/contrib/atf/atf-c++/atf_c++_test.cpp Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/contrib/atf/atf-c++/atf_c++_test.cpp Thu Nov 6 21:49:35 2014 (r274196) @@ -1,6 +1,3 @@ -// -// Automated Testing Framework (atf) -// // Copyright (c) 2009 The NetBSD Foundation, Inc. // All rights reserved. // @@ -25,11 +22,10 @@ // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN // IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -#include "macros.hpp" +#include <atf-c++.hpp> -#include "detail/test_helpers.hpp" +#include "atf-c++/detail/test_helpers.hpp" // ------------------------------------------------------------------------ // Tests cases for the header file. Modified: user/dchagin/lemul/contrib/atf/atf-c++/build.cpp ============================================================================== --- user/dchagin/lemul/contrib/atf/atf-c++/build.cpp Thu Nov 6 20:56:29 2014 (r274195) +++ user/dchagin/lemul/contrib/atf/atf-c++/build.cpp Thu Nov 6 21:49:35 2014 (r274196) @@ -1,6 +1,3 @@ -// -// Automated Testing Framework (atf) -// // Copyright (c) 2009 The NetBSD Foundation, Inc. // All rights reserved. // *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411062149.sA6Lnbwq090221>