xref: /freebsd/contrib/netbsd-tests/fs/ffs/quotas_common.sh (revision ca987d4641cdcd7f27e153db17c5bf064934faf5)
1# $NetBSD: quotas_common.sh,v 1.4 2012/01/18 20:51:23 bouyer Exp $
2
3rump_quota_shutdown()
4{
5	for s in ${RUMP_SOCKETS_LIST}; do
6		atf_check -s exit:0 env RUMP_SERVER=unix://${s} rump.halt;
7	done
8# check that the quota inode creation didn't corrupt the filesystem
9	atf_check -s exit:0 -o "match:already clean" \
10		-o "match:Phase 6 - Check Quotas" \
11		fsck_ffs -nf -F ${IMG}
12}
13