summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-02-19 11:37:39 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-02-19 11:37:39 +0000
commitf7dd4b49b2c0b6ff31f54290af76f52513b5a7c1 (patch)
tree23279010ffaa7488437b0f4895d4a73527219df5 /regress
parentebcc90bf1864b82f8e13c4ad8295219b246f3370 (diff)
Correctly diff the output of test 32.
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/route/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sbin/route/Makefile b/regress/sbin/route/Makefile
index 5ee55ab0093..d34e6973d23 100644
--- a/regress/sbin/route/Makefile
+++ b/regress/sbin/route/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.27 2018/02/14 08:42:22 mpi Exp $
+# $OpenBSD: Makefile,v 1.28 2018/02/19 11:37:38 mpi Exp $
RDOMAIN?= 5
@@ -376,7 +376,7 @@ rttest${n}:
${RCMD} add -net 192.168.67.128/25 130.102.71.67 -priority 3 -ifp vlan99
${RCMD} show -inet 2>&1 | \
sed -e "s,link\#[0-9 ]*U,link# U," | \
- cat > ${.CURDIR}/${.TARGET}.ok
+ diff -u ${.CURDIR}/${.TARGET}.ok /dev/stdin
REGRESS_TARGETS=netmask ${RTTEST_TARGETS}
REGRESS_ROOT_TARGETS=${REGRESS_TARGETS}