freebsd-dev/contrib/netbsd-tests/fs/ffs/quotas_common.sh
Enji Cooper 57718be8fa Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,
minus the vendor Makefiles

Provide directions for how to bootstrap the vendor sources in
FREEBSD-upgrade

MFC after 2 weeks
Discussed with: rpaulo
Sponsored by: EMC / Isilon Storage Division
2014-10-02 23:26:49 +00:00

13 lines
376 B
Bash
Executable File

# $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}
}