summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-02-13 11:50:43 +0000
committerbluhm <bluhm@openbsd.org>2019-02-13 11:50:43 +0000
commitff1c77128cd94ac3bb68f66db44cf830eae3d059 (patch)
treecc2aa4579022dbde4ecb0bef87c1a56043b17ecb
parentRemove obsolete tbl suffix from ncurses man pages, no objections from (diff)
downloadwireguard-openbsd-ff1c77128cd94ac3bb68f66db44cf830eae3d059.tar.xz
wireguard-openbsd-ff1c77128cd94ac3bb68f66db44cf830eae3d059.zip
Forgot a return in previous commit to actually skip the test.
noticed by Moritz Buhl
-rw-r--r--regress/sbin/newfs/checknewfs3
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 &&