Deleted Added
full compact
configure_b_B_test.sh (182452) configure_b_B_test.sh (293436)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/tools/regression/geom_eli/configure-b-B.t 182452 2008-08-29 18:10:18Z pjd $
2# $FreeBSD: head/tools/regression/geom_eli/configure-b-B.t 293436 2016-01-08 19:38:59Z ngie $
3
3
4. $(dirname $0)/conf.sh
5
4base=`basename $0`
6base=`basename $0`
5no=45
6sectors=100
7mdconfig -a -t malloc -s `expr $sectors + 1` -u $no || exit 1
8
9echo "1..17"
10
11geli init -B none -P -K /dev/null md${no}
12if [ $? -eq 0 ]; then
13 echo "ok 1"

--- 107 unchanged lines hidden (view full) ---

121fi
122
123geli detach md${no}
124if [ $? -eq 0 ]; then
125 echo "ok 17"
126else
127 echo "not ok 17"
128fi
7sectors=100
8mdconfig -a -t malloc -s `expr $sectors + 1` -u $no || exit 1
9
10echo "1..17"
11
12geli init -B none -P -K /dev/null md${no}
13if [ $? -eq 0 ]; then
14 echo "ok 1"

--- 107 unchanged lines hidden (view full) ---

122fi
123
124geli detach md${no}
125if [ $? -eq 0 ]; then
126 echo "ok 17"
127else
128 echo "not ok 17"
129fi
129
130mdconfig -d -u $no