summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2021-07-10 12:25:47 +0000
committeranton <anton@cvs.openbsd.org>2021-07-10 12:25:47 +0000
commit445c0a588fcbeb133b571fa3f302925fd6aab6c4 (patch)
treed5b31146d5c2e66aace81ce53b4a6efe3e9e2ba4
parent3b7e783c8d4f7d3c085d6e423eababdfa6bd8814 (diff)
honor objdir
-rw-r--r--regress/usr.bin/rcs/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile
index b789b021c21..17c0f9b97b6 100644
--- a/regress/usr.bin/rcs/Makefile
+++ b/regress/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.44 2020/07/06 15:24:11 tb Exp $
+# $OpenBSD: Makefile,v 1.45 2021/07/10 12:25:46 anton Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# ksh -> Makefile by Ray Lai <ray@cyth.net>.
@@ -250,33 +250,29 @@ test-merge-eflag: clean
test-merge-noeol: clean
@echo "<<<<<<< file1\nline1=======\nline3\n>>>>>>> file3" \
- > ${.CURDIR}/merge-noeol.out
+ > merge-noeol.out
@echo -n "line1" > file1
@echo "line2" > file2
@echo "line3" > file3
- @${MERGE} -p -q file1 file2 file3 | \
- ${DIFF} ${.CURDIR}/merge-noeol.out -
+ @${MERGE} -p -q file1 file2 file3 | ${DIFF} merge-noeol.out -
@echo "<<<<<<< file1\nline1\n=======\nline3\n>>>>>>> file3" \
- > ${.CURDIR}/merge-noeol.out
+ > merge-noeol.out
@echo "line1" > file1
@echo -n "line2" > file2
@echo "line3" > file3
- @${MERGE} -p -q file1 file2 file3 | \
- ${DIFF} ${.CURDIR}/merge-noeol.out -
+ @${MERGE} -p -q file1 file2 file3 | ${DIFF} merge-noeol.out -
@echo "<<<<<<< file1\nline1\n=======\nline3>>>>>>> file3" \
- > ${.CURDIR}/merge-noeol.out
+ > merge-noeol.out
@echo "line1" > file1
@echo "line2" > file2
@echo -n "line3" > file3
- @${MERGE} -p -q file1 file2 file3 | \
- ${DIFF} ${.CURDIR}/merge-noeol.out -
+ @${MERGE} -p -q file1 file2 file3 | ${DIFF} merge-noeol.out -
@echo "<<<<<<< file1\nline1=======\nline3>>>>>>> file3" \
- > ${.CURDIR}/merge-noeol.out
+ > merge-noeol.out
@echo -n "line1" > file1
@echo -n "line2" > file2
@echo -n "line3" > file3
- @${MERGE} -p -q file1 file2 file3 | \
- ${DIFF} ${.CURDIR}/merge-noeol.out -
+ @${MERGE} -p -q file1 file2 file3 | ${DIFF} merge-noeol.out -
test-rcsmerge:
@cp -f ${.CURDIR}/rev1 blah.c
@@ -625,9 +621,9 @@ test-ci-parse-keywords2: clean
# Check for correct EOF handling in rcs parser
test-co-parse-truncated: clean
- @sh -c 'ulimit -d 5000 && ${CO} -q ${.CURDIR}/test-truncated > ${.CURDIR}/truncated.out 2>&1' || \
+ @sh -c 'ulimit -d 5000 && ${CO} -q ${.CURDIR}/test-truncated > truncated.out 2>&1' || \
case "$$?" in 1) exit 0;; esac && exit 1
- @grep -q 'co: could not parse admin data' ${.CURDIR}/truncated.out
+ @grep -q 'co: could not parse admin data' truncated.out
test-ci-2files: clean
@touch foo bar