diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-02-13 11:50:44 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-02-13 11:50:44 +0000 |
commit | 972d8a384cf257b648b88354c62eb7d9828d0afb (patch) | |
tree | cf03e40fd65b9a0693fd8c6d51972e8b56876eaf /regress/sbin/newfs | |
parent | 772caab0e9cef7a94457d4281a0ea1b6650aaaac (diff) |
Forgot a return in previous commit to actually skip the test.
noticed by Moritz Buhl
Diffstat (limited to 'regress/sbin/newfs')
-rw-r--r-- | regress/sbin/newfs/checknewfs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sbin/newfs/checknewfs b/regress/sbin/newfs/checknewfs index 9c18f87a2fe..a01046667be 100644 --- a/regress/sbin/newfs/checknewfs +++ b/regress/sbin/newfs/checknewfs @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: checknewfs,v 1.6 2019/02/12 21:47:19 bluhm Exp $ +# $OpenBSD: checknewfs,v 1.7 2019/02/13 11:50:43 bluhm Exp $ # Written by Otto Moerbeek, 2007, Public domain @@ -14,6 +14,7 @@ dotest() { if ! grep -q "$2|" /etc/disktab; then echo disk type $2 does not exists in /etc/disktab echo SKIPPED + return fi image=$(mktemp -t imageXXXXXXXXXX); dd if=/dev/random of=$image bs=512 count=$1 2>/dev/null && |