From ce5d62e853d45b03a2b4b63389a3323647677951 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 17 Oct 2003 19:52:07 +0000 Subject: Make the regression test run also with obj directories. --- sbin/gbde/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sbin/gbde/test.sh') diff --git a/sbin/gbde/test.sh b/sbin/gbde/test.sh index fb3a815..eeb2c4dee 100644 --- a/sbin/gbde/test.sh +++ b/sbin/gbde/test.sh @@ -42,7 +42,11 @@ if ./gbde nuke $D -p foo4 -l /tmp/_l4 -n -1 ; then false ; fi mdconfig -d -u $MD mdconfig -a -t malloc -s 1m -u $MD -uudecode -p image.uu | bzcat > $D +if [ -f image.uu ] ; then + uudecode -p image.uu | bzcat > $D +else + uudecode -p ${1}/image.uu | bzcat > $D +fi gbde attach $D -p foo fsck_ffs ${D}.bde gbde detach $D -- cgit v1.1