xref: /freebsd/sbin/newfs/runtest00.sh (revision b9f654b163bce26de79705e77b872427c9f2afa1)
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 -r -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