• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-or-later
3# Copyright (c) 2018 Oracle and/or its affiliates.
4
5TST_NEEDS_TMPDIR=1
6TST_TESTFUNC=virt_netperf_msg_sizes
7TST_SETUP=do_setup
8TST_CLEANUP=virt_cleanup
9virt_type="sit"
10. virt_lib.sh
11
12do_setup()
13{
14	[ -n "$TST_IPV6" ] && tst_res TBROK "invalid option '-6' for sit tunnel"
15
16	virt_lib_setup
17
18	tst_res TINFO "test $virt_type"
19	virt_setup "local $(tst_ipaddr) remote $(tst_ipaddr rhost)" \
20		   "local $(tst_ipaddr rhost) remote $(tst_ipaddr)"
21}
22
23tst_run
24