1272343Sngie# $NetBSD: quotas_common.sh,v 1.4 2012/01/18 20:51:23 bouyer Exp $ 
2272343Sngie
3272343Sngierump_quota_shutdown()
4272343Sngie{
5272343Sngie	for s in ${RUMP_SOCKETS_LIST}; do
6272343Sngie		atf_check -s exit:0 env RUMP_SERVER=unix://${s} rump.halt;
7272343Sngie	done
8272343Sngie# check that the quota inode creation didn't corrupt the filesystem
9272343Sngie	atf_check -s exit:0 -o "match:already clean" \
10272343Sngie		-o "match:Phase 6 - Check Quotas" \
11272343Sngie		fsck_ffs -nf -F ${IMG}
12272343Sngie}
13