summaryrefslogtreecommitdiff
path: root/regress/usr.bin/file
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-07-04 23:12:02 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-07-04 23:12:02 +0000
commit19095986117f7d1580d3e225a098d2e8b5c5a34b (patch)
tree4aff501f5661d1eeeb01edb8240a70947ec56d83 /regress/usr.bin/file
parentb47e6d4a9b4ee5299c816f23722e0cd5cbf7ac0b (diff)
Fix file regress from stdin if obj directory exists.
Diffstat (limited to 'regress/usr.bin/file')
-rw-r--r--regress/usr.bin/file/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/file/Makefile b/regress/usr.bin/file/Makefile
index dad20ca1d83..e0fff44ab52 100644
--- a/regress/usr.bin/file/Makefile
+++ b/regress/usr.bin/file/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2017/06/28 17:28:39 nicm Exp $
+# $OpenBSD: Makefile,v 1.9 2017/07/04 23:12:01 bluhm Exp $
FILE=file
@@ -22,7 +22,7 @@ all: ${REGRESS_TARGET}
stdin:
@echo ${*}
- @${FILE} - <t0.in | \
+ @${FILE} - <${.CURDIR}/t0.in | \
diff - ${.CURDIR}/${*}.out || \
(echo "XXX ${*} failed" && false)