summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/fs/ffs/quotas_common.sh
blob: 0ad002f54ad5dda6d1705630a454cc426635374f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $NetBSD: quotas_common.sh,v 1.4 2012/01/18 20:51:23 bouyer Exp $ 

rump_quota_shutdown()
{
	for s in ${RUMP_SOCKETS_LIST}; do
		atf_check -s exit:0 env RUMP_SERVER=unix://${s} rump.halt;
	done
# check that the quota inode creation didn't corrupt the filesystem
	atf_check -s exit:0 -o "match:already clean" \
		-o "match:Phase 6 - Check Quotas" \
		fsck_ffs -nf -F ${IMG}
}
OpenPOWER on IntegriCloud