• 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
11do_setup()
12{
13	[ -n "$TST_IPV6" ] && tst_brk TBROK "invalid option '-6' for sit tunnel"
14
15	virt_lib_setup
16
17	tst_res TINFO "test $virt_type"
18	virt_setup "local $(tst_ipaddr) remote $(tst_ipaddr rhost)" \
19		   "local $(tst_ipaddr rhost) remote $(tst_ipaddr)"
20}
21
22. virt_lib.sh
23tst_run
24