Skip to content

Commit

Permalink
tests/packetdrill: put the error of test result to stdout
Browse files Browse the repository at this point in the history
instead of stderr to avoid unnecessary bisection

Signed-off-by: leishaoting <[email protected]>
Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
leishaoting authored and rli9 committed Nov 16, 2018
1 parent e88647e commit 00ba0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/packetdrill
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lsmod | grep -q tun || modprobe tun
for f in $(find . -name "*.pkt" ! -name "*diag-ipv6*" | sort); do
echo "Running $f ..."
ip tcp_metrics flush all > /dev/null 2>&1
log_cmd ./gtests/net/packetdrill/packetdrill $f
log_cmd ./gtests/net/packetdrill/packetdrill $f 2>&1
return_value=$?
if [ $return_value -eq 0 ]; then
echo "$f pass"
Expand Down

0 comments on commit 00ba0e3

Please sign in to comment.