diff options
Diffstat (limited to 'fs/ffs/quotas_common.sh')
| -rwxr-xr-x | fs/ffs/quotas_common.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/ffs/quotas_common.sh b/fs/ffs/quotas_common.sh new file mode 100755 index 000000000000..0ad002f54ad5 --- /dev/null +++ b/fs/ffs/quotas_common.sh @@ -0,0 +1,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} +} |
