Deleted Added
full compact
initiator.sh (232114) initiator.sh (232609)
1#!/bin/sh
2#-
3# Copyright (c) 2012 Cisco Systems, Inc.
4# All rights reserved.
5#
6# This software was developed by Bjoern Zeeb under contract to
7# Cisco Systems, Inc..
8#

--- 13 unchanged lines hidden (view full) ---

22# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28# SUCH DAMAGE.
29#
1#!/bin/sh
2#-
3# Copyright (c) 2012 Cisco Systems, Inc.
4# All rights reserved.
5#
6# This software was developed by Bjoern Zeeb under contract to
7# Cisco Systems, Inc..
8#

--- 13 unchanged lines hidden (view full) ---

22# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28# SUCH DAMAGE.
29#
30# $FreeBSD: head/tools/test/netfibs/initiator.sh 232114 2012-02-24 14:13:06Z bz $
30# $FreeBSD: head/tools/test/netfibs/initiator.sh 232609 2012-03-06 14:19:36Z bz $
31#
32
33# We will use the RFC5180 (and Errata) benchmarking working group prefix
34# 2001:0002::/48 for testing.
35PREFIX="2001:2:"
36
37# Set IFACE to the real interface you want to run the test on.
38: ${IFACE:=lo0}

--- 366 unchanged lines hidden (view full) ---

405 _o="$2"
406 _fib=$3
407
408 case "${USE_SOSETFIB}" in
409 1) _f="SO_SETFIB" ;;
410 *) _f="SETFIB" ;;
411 esac
412
31#
32
33# We will use the RFC5180 (and Errata) benchmarking working group prefix
34# 2001:0002::/48 for testing.
35PREFIX="2001:2:"
36
37# Set IFACE to the real interface you want to run the test on.
38: ${IFACE:=lo0}

--- 366 unchanged lines hidden (view full) ---

405 _o="$2"
406 _fib=$3
407
408 case "${USE_SOSETFIB}" in
409 1) _f="SO_SETFIB" ;;
410 *) _f="SETFIB" ;;
411 esac
412
413 if test "${_o}" == "-i" -a "${_f}" == "SO_SETFIB"; then
413 if test "${_o}" = "-i" -a "${_f}" = "SO_SETFIB"; then
414 print_debug "Skipping icmp6 tests for SO_SETFIB."
415 return 0
416 fi
417
418 # Clear the neighbor table to get deterministic runs.
419 ndp -cn > /dev/null 2>&1
420
421 case "${_o}" in

--- 1100 unchanged lines hidden ---
414 print_debug "Skipping icmp6 tests for SO_SETFIB."
415 return 0
416 fi
417
418 # Clear the neighbor table to get deterministic runs.
419 ndp -cn > /dev/null 2>&1
420
421 case "${_o}" in

--- 1100 unchanged lines hidden ---