xref: /freebsd/sbin/newfs/runtest00.sh (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1#!/bin/sh
2# $FreeBSD$
3
4set -e
5
6MD=99
7(
8for s in 1m 4m 60m 120m 240m 1g
9do
10	(
11	mdconfig -d -u $MD || true
12	mdconfig -a -t malloc -s $s -u $MD
13	disklabel -w md$MD auto
14	./newfs -R /dev/md${MD}c
15	) 1>&2
16	md5 < /dev/md${MD}c
17done
18mdconfig -d -u $MD 1>&2 || true
19)
20