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