summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-12 17:15:11 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-01-12 17:15:11 +0000
commit1ac920a014c7b8ad7a7af841f6ade84b57af6208 (patch)
treec2eb027f4b6b54ffa5512819608ab1d96514c9f4 /regress
parentc149d25e6b3abec502dda8bd382cbec6c7b0cb3f (diff)
Print the test description before running each subtest.
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/ffs/run3
-rw-r--r--regress/sys/ffs/tests/chflags/04.t4
2 files changed, 6 insertions, 1 deletions
diff --git a/regress/sys/ffs/run b/regress/sys/ffs/run
index 1e3d458bb0b..51cd850000e 100644
--- a/regress/sys/ffs/run
+++ b/regress/sys/ffs/run
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: run,v 1.4 2017/01/12 01:04:50 bluhm Exp $
+# $OpenBSD: run,v 1.5 2017/01/12 17:15:10 bluhm Exp $
# Heavily inspired on FreeBSD's misc.sh.
totntest=0
@@ -55,6 +55,7 @@ for arg in $*; do
ntest=0
nfail=0
echo $arg:
+ sed -n 's/^desc=//p' $arg
. $arg
totntest=`expr $totntest + $ntest`
totnfail=`expr $totnfail + $nfail`
diff --git a/regress/sys/ffs/tests/chflags/04.t b/regress/sys/ffs/tests/chflags/04.t
index 6a980157372..3e8b96fb3bb 100644
--- a/regress/sys/ffs/tests/chflags/04.t
+++ b/regress/sys/ffs/tests/chflags/04.t
@@ -1,3 +1,7 @@
+#!/bin/sh
+
+desc="chflags returns ENOENT if path or file does not exist"
+
n0=`namegen`
n1=`namegen`