artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565ae8f
)
Use tee(1) so that the bgpctl output is visible during the run.
author
claudio
<claudio@openbsd.org>
Tue, 13 Apr 2021 07:38:23 +0000
(07:38 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 13 Apr 2021 07:38:23 +0000
(07:38 +0000)
regress/usr.sbin/bgpd/integrationtests/mrt.sh
patch
|
blob
|
history
diff --git
a/regress/usr.sbin/bgpd/integrationtests/mrt.sh
b/regress/usr.sbin/bgpd/integrationtests/mrt.sh
index
759088d
..
d5cec8c
100644
(file)
--- 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:5
3 claudio Exp $
+# $OpenBSD: mrt.sh,v 1.
4 2021/04/13 07:38:2
3 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