commit 152f1d8fdd7866c6b159004ac551fc6f55171f50
parent db376d423b7cc7abef42225281ff724d593b069c
Author: kyle <kyle@0x30.net>
Date: Tue, 17 Jan 2017 20:57:40 -0700
tt: add comments and dependency checking
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/tt/openbsd.subr b/tt/openbsd.subr
@@ -1,11 +1,15 @@
#
# OpenBSD ports infrastructure compatibility layer for end to end testing.
+# Exports CITRUN_PROCDIR.
#
[ `uname` != "OpenBSD" ] && return 0
set -eu
. tt/libtap.subr
+# Script dependencies.
+type comm cut diff make nm sed sort > /dev/null
+
# Script arguments give the path in the OpenBSD ports system.
portdir="/usr/ports/$1/$2"
workdist=`make -C $portdir show=WRKDIST`