]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/fs/ffs/quotas_common.sh
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / fs / ffs / quotas_common.sh
1 # $NetBSD: quotas_common.sh,v 1.4 2012/01/18 20:51:23 bouyer Exp $ 
2
3 rump_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 }