]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r305483,r306030,r306031,r306033,r306036:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 9 Feb 2017 21:12:26 +0000 (21:12 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 9 Feb 2017 21:12:26 +0000 (21:12 +0000)
commitb2631b637f61c16fdbe768ac6b27dc56dbf4ec64
tree28f7e65838a8dc6a0d14c12953de679ce66065dd
parentc9158910ef6a564417e1a7e4759a4b350d9e02e6
MFC r305483,r306030,r306031,r306033,r306036:

r305483:

Fix tests/sys/kqueue NetBSD tests on 32-bit platforms by using proper
format specifier for pointers when printing them out with printf(3)

Pointyhat to: ngie

r306030:

Port vnode_leak_test:main to FreeBSD

Use a simpler way of dumping kern.maxvnodes, i.e. `sysctl -n kern.maxvnodes`

The awk filtering method employed in NetBSD doesn't work on FreeBSD

r306031:

Port contrib/netbsd-tests/fs/h_funcs.subr to FreeBSD

Use kldstat -m to determine whether or not a filesystem is loaded. This works
well with tmpfs, ufs, and zfs

r306033:

Port sizes_test and statvfs_test to FreeBSD

Similar to r306030, use a simpler method for getting the value of
`hw.pagesize`, i.e. `sysctl -n hw.pagesize`. The awk filtering method doesn't
work on FreeBSD

r306036:

Port to mknod_test and readdir_test to FreeBSD

The `mknod <file> p` command doesn't exist on FreeBSD, like on NetBSD. Use
mkfifo instead to create named pipes (FIFOs).

git-svn-id: svn://svn.freebsd.org/base/stable/10@313478 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
12 files changed:
contrib/netbsd-tests/fs/h_funcs.subr
contrib/netbsd-tests/fs/tmpfs/t_mknod.sh
contrib/netbsd-tests/fs/tmpfs/t_readdir.sh
contrib/netbsd-tests/fs/tmpfs/t_sizes.sh
contrib/netbsd-tests/fs/tmpfs/t_statvfs.sh
contrib/netbsd-tests/fs/tmpfs/t_vnode_leak.sh
contrib/netbsd-tests/kernel/kqueue/read/t_fifo.c
contrib/netbsd-tests/kernel/kqueue/read/t_file.c
contrib/netbsd-tests/kernel/kqueue/read/t_pipe.c
contrib/netbsd-tests/kernel/kqueue/read/t_ttypty.c
contrib/netbsd-tests/kernel/kqueue/t_proc1.c
contrib/netbsd-tests/kernel/kqueue/t_sig.c