summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`