summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-04-26 21:32:32 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-04-26 21:32:32 +0000
commita06dd2ee00c17fe953f402b6963f29fd86452a7e (patch)
tree100bc2d1044d8b8c5bd2b6af721e7027545ef8b7 /regress
parentea0f72a852d6dc33748c7116ad2ce277735bf5cd (diff)
- check equality with '==', from skreuzer@exit2shell.com
- unbreak, since -r was removed from disklabel(8) ok otto@
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/newfs/checknewfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/sbin/newfs/checknewfs b/regress/sbin/newfs/checknewfs
index 537847ff18f..a64d72d83f3 100644
--- a/regress/sbin/newfs/checknewfs
+++ b/regress/sbin/newfs/checknewfs
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: checknewfs,v 1.2 2007/05/19 19:11:08 otto Exp $
+# $OpenBSD: checknewfs,v 1.3 2009/04/26 21:32:31 okan Exp $
# Written by Otto Moerbeek, 2007, Public domain
@@ -14,7 +14,7 @@ dotest() {
image=$(mktemp -t imageXXXXXXXXXX);
dd if=/dev/prandom of=$image bs=512 count=$1 2>/dev/null &&
vnconfig svnd0 $image &&
- disklabel -w -r svnd0 $2 &&
+ disklabel -w svnd0 $2 &&
newfs $3 /dev/rsvnd0a
if [ $? != 0 ]; then
ret=$(($ret + 1))
@@ -29,7 +29,7 @@ dotest() {
fi
fi
echo ==========================
- if [ $clean = 1 ]; then
+ if [ $clean == 1 ]; then
cleanup
fi
}