All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kodanev <alexey.kodanev@oracle.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 2/6] network/sit01: new test for sit tunnel
Date: Mon, 29 Oct 2018 16:03:18 +0300	[thread overview]
Message-ID: <1540818202-11247-3-git-send-email-alexey.kodanev@oracle.com> (raw)
In-Reply-To: <1540818202-11247-1-git-send-email-alexey.kodanev@oracle.com>

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
---
 runtest/net.features            |    2 ++
 testcases/network/virt/sit01.sh |   23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100755 testcases/network/virt/sit01.sh

diff --git a/runtest/net.features b/runtest/net.features
index eac1b2b..de49e76 100644
--- a/runtest/net.features
+++ b/runtest/net.features
@@ -58,3 +58,5 @@ dctcp_ipv6_01 dctcp01.sh -6
 
 geneve01 geneve01.sh
 geneve01_ipv6 geneve01.sh -6
+
+sit01 sit01.sh
diff --git a/testcases/network/virt/sit01.sh b/testcases/network/virt/sit01.sh
new file mode 100755
index 0000000..4ecc1f8
--- /dev/null
+++ b/testcases/network/virt/sit01.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (c) 2018 Oracle and/or its affiliates.
+
+TST_NEEDS_TMPDIR=1
+TST_TESTFUNC=virt_netperf_msg_sizes
+TST_SETUP=do_setup
+TST_CLEANUP=virt_cleanup
+virt_type="sit"
+. virt_lib.sh
+
+do_setup()
+{
+	[ -n "$TST_IPV6" ] && tst_res TBROK "invalid option '-6' for sit tunnel"
+
+	virt_lib_setup
+
+	tst_res TINFO "test $virt_type"
+	virt_setup "local $(tst_ipaddr) remote $(tst_ipaddr rhost)" \
+		   "local $(tst_ipaddr rhost) remote $(tst_ipaddr)"
+}
+
+tst_run
-- 
1.7.1


  parent reply	other threads:[~2018-10-29 13:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29 13:03 [LTP] [PATCH 0/6] network: new tests for mpls over gre, gre6 and sit Alexey Kodanev
2018-10-29 13:03 ` [LTP] [PATCH 1/6] network/virt: add support for sit tunnel Alexey Kodanev
2018-10-29 13:03 ` Alexey Kodanev [this message]
2018-10-29 13:03 ` [LTP] [PATCH 3/6] network/mpls01: new test for mpls labels Alexey Kodanev
2018-10-29 13:03 ` [LTP] [PATCH 4/6] network/mpls02: new test with lwtunnel Alexey Kodanev
2018-11-02 20:02   ` Petr Vorel
2018-11-06 15:30     ` Alexey Kodanev
2018-11-07 17:36       ` Petr Vorel
2018-11-08 12:34         ` Alexey Kodanev
2018-11-08 14:01           ` Petr Vorel
2018-10-29 13:03 ` [LTP] [PATCH 5/6] network/mpls03: add MPLS over GRE and GREv6 Alexey Kodanev
2018-11-02 20:13   ` Petr Vorel
2018-10-29 13:03 ` [LTP] [PATCH 6/6] network/mpls04: new test with mpls over sit tunnel Alexey Kodanev
2018-11-02 20:15 ` [LTP] [PATCH 0/6] network: new tests for mpls over gre, gre6 and sit Petr Vorel
2018-11-13 15:11   ` Alexey Kodanev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1540818202-11247-3-git-send-email-alexey.kodanev@oracle.com \
    --to=alexey.kodanev@oracle.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.