From 4fba0470a85a3dd3ed89495006ddd5dfa4bf2cbb Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 13 Apr 2021 07:38:23 +0000 Subject: [PATCH] Use tee(1) so that the bgpctl output is visible during the run. --- regress/usr.sbin/bgpd/integrationtests/mrt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/usr.sbin/bgpd/integrationtests/mrt.sh b/regress/usr.sbin/bgpd/integrationtests/mrt.sh index 759088d45c5..d5cec8c90db 100644 --- a/regress/usr.sbin/bgpd/integrationtests/mrt.sh +++ b/regress/usr.sbin/bgpd/integrationtests/mrt.sh @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: mrt.sh,v 1.3 2019/08/06 07:31:53 claudio Exp $ +# $OpenBSD: mrt.sh,v 1.4 2021/04/13 07:38:23 claudio Exp $ set -e @@ -52,7 +52,7 @@ sleep 2 for i in table-v2 table-mp table; do echo test $i bgpctl show mrt detail file mrt-$i.mrt | \ - grep -v 'Last update:' > mrt-$i.out + grep -v 'Last update:' | tee mrt-$i.out diff -u ${BGPDCONFIGDIR}/mrt-$i.ok mrt-$i.out done -- 2.20.1