test.sh (125578) | test.sh (168420) |
---|---|
1#!/bin/sh | 1#!/bin/sh |
2# $FreeBSD: head/sbin/gbde/test.sh 125578 2004-02-07 22:58:39Z phk $ | 2# $FreeBSD: head/sbin/gbde/test.sh 168420 2007-04-06 11:16:11Z pjd $ |
3 4set -e 5 6MD=99 7mdconfig -d -u $MD > /dev/null 2>&1 || true 8 9mdconfig -a -t malloc -s 1m -u $MD 10 --- 14 unchanged lines hidden (view full) --- 25if ./gbde destroy $D -p foo2 -l /tmp/_l2 ; then false ; fi 26 27./gbde nuke $D -p foo1 -l /tmp/_l1 -n -1 28if ./gbde nuke $D -p foo1 -l /tmp/_l1 -n -1 ; then false ; fi 29if ./gbde nuke $D -p foo2 -l /tmp/_l2 -n -1 ; then false ; fi 30if ./gbde nuke $D -p foo3 -l /tmp/_l3 -n -1 ; then false ; fi 31if ./gbde nuke $D -p foo4 -l /tmp/_l4 -n -1 ; then false ; fi 32 | 3 4set -e 5 6MD=99 7mdconfig -d -u $MD > /dev/null 2>&1 || true 8 9mdconfig -a -t malloc -s 1m -u $MD 10 --- 14 unchanged lines hidden (view full) --- 25if ./gbde destroy $D -p foo2 -l /tmp/_l2 ; then false ; fi 26 27./gbde nuke $D -p foo1 -l /tmp/_l1 -n -1 28if ./gbde nuke $D -p foo1 -l /tmp/_l1 -n -1 ; then false ; fi 29if ./gbde nuke $D -p foo2 -l /tmp/_l2 -n -1 ; then false ; fi 30if ./gbde nuke $D -p foo3 -l /tmp/_l3 -n -1 ; then false ; fi 31if ./gbde nuke $D -p foo4 -l /tmp/_l4 -n -1 ; then false ; fi 32 |
33rm -f /tmp/_l1 /tmp/_l2 /tmp/_l3 /tmp/_l4 34 |
|
33./gbde init $D -P foo 34./gbde setkey $D -p foo -P bar 35./gbde setkey $D -p bar -P foo 36 37./gbde setkey $D -p foo -n 2 -P foo2 38./gbde setkey $D -p foo2 -n 3 -P foo3 39./gbde setkey $D -p foo3 -n 4 -P foo4 40./gbde setkey $D -p foo4 -n 1 -P foo1 --- 25 unchanged lines hidden --- | 35./gbde init $D -P foo 36./gbde setkey $D -p foo -P bar 37./gbde setkey $D -p bar -P foo 38 39./gbde setkey $D -p foo -n 2 -P foo2 40./gbde setkey $D -p foo2 -n 3 -P foo3 41./gbde setkey $D -p foo3 -n 4 -P foo4 42./gbde setkey $D -p foo4 -n 1 -P foo1 --- 25 unchanged lines hidden --- |