~ubuntu-branches/ubuntu/vivid/openvswitch/vivid-proposed

« back to all changes in this revision

Viewing changes to tests/ovs-vsctl.at

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-06-30 14:34:02 UTC
  • mfrom: (1.1.29)
  • Revision ID: package-import@ubuntu.com-20150630143402-4po65ymgth1ron0w
Tags: 2.3.2-0ubuntu0.15.04.1
* New upstream point release (LP: #1470120):
  - d/p/*: Refresh all patches.
  - d/p/rules: Skip test 717 due to failure on powerpc - see
    http://pad.lv/1472202 for full details.
* d/tests/openflow.py: Use net.addLink to add links between switches and
  hosts to ensure that they get cleanup up after use, fixing autopkgtest
  failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1215
1215
AT_CHECK([ovs-vsctl add-port br0 reserved_name], [0], [], [dnl
1216
1216
ovs-vsctl: Error detected while setting up 'reserved_name'.  See ovs-vswitchd log for details.
1217
1217
])
 
1218
# Prevent race.
 
1219
OVS_WAIT_UNTIL([test `grep -- "|WARN|" ovs-vswitchd.log | wc -l` -ge 1])
1218
1220
# Detect the warning log message
1219
1221
AT_CHECK([sed -n "s/^.*\(|bridge|WARN|.*\)$/\1/p" ovs-vswitchd.log], [0], [dnl
1220
1222
|bridge|WARN|could not create interface reserved_name, name is reserved
1250
1252
AT_CHECK([ovs-vsctl add-port br0 reserved_name], [0], [], [dnl
1251
1253
ovs-vsctl: Error detected while setting up 'reserved_name'.  See ovs-vswitchd log for details.
1252
1254
])
 
1255
# Prevent race.
 
1256
OVS_WAIT_UNTIL([test `grep -- "|WARN|" ovs-vswitchd.log | wc -l` -ge 1])
1253
1257
# Detect the warning log message
1254
1258
AT_CHECK([sed -n "s/^.*\(|bridge|WARN|.*\)$/\1/p" ovs-vswitchd.log], [0], [dnl
1255
1259
|bridge|WARN|could not create interface reserved_name, name is reserved