Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net Skip dumping if no bus is used
details: https://anonhg.NetBSD.org/src/rev/58e1c80ebadc
branches: trunk
changeset: 349164:58e1c80ebadc
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Sat Nov 26 03:20:42 2016 +0000
description:
Skip dumping if no bus is used
diffstat:
tests/net/net_common.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r c83f0db15ec2 -r 58e1c80ebadc tests/net/net_common.sh
--- a/tests/net/net_common.sh Sat Nov 26 03:19:48 2016 +0000
+++ b/tests/net/net_common.sh Sat Nov 26 03:20:42 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: net_common.sh,v 1.7 2016/11/25 08:51:16 ozaki-r Exp $
+# $NetBSD: net_common.sh,v 1.8 2016/11/26 03:20:42 ozaki-r Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -270,6 +270,10 @@
rump_server_dump_buses()
{
+ if [ ! -f $_rump_server_buses ]; then
+ return 0
+ fi
+
$DEBUG && cat $_rump_server_buses
for bus in $(cat $_rump_server_buses); do
echo "### Dumping $bus"
Home |
Main Index |
Thread Index |
Old Index