test: Group tests by mode then protocol, rather than the reverse

For example, passt/dhcp rather than dhcp/passt.  This is more
consistent with the two_guests and other test groups, and makes some
other cleanups simpler.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2022-09-13 14:35:16 +10:00 committed by Stefano Brivio
parent 4381278b7d
commit 594c2f9371
14 changed files with 32 additions and 32 deletions

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/dhcp/passt - Check DHCP and DHCPv6 functionality in passt mode
# test/passt/dhcp - Check DHCP and DHCPv6 functionality in passt mode
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/ndp/passt - Check NDP functionality in passt mode
# test/passt/ndp - Check NDP functionality in passt mode
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/shutdown/passt - Shut down passt (or pasta) and check exit code (will
# test/passt/shutdown - Shut down passt (or pasta) and check exit code (will
# detect valgrind errors amongst others)
#
# Copyright (c) 2022 Red Hat GmbH

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/tcp/passt - Check TCP functionality in passt mode
# test/passt/tcp - Check TCP functionality in passt mode
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/udp/passt - Check UDP functionality in passt mode
# test/passt/udp - Check UDP functionality in passt mode
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/icmp/passt_in_ns - Check ICMP/ICMPv6 functionality for passt in ns
# test/passt_in_ns/icmp - Check ICMP/ICMPv6 functionality for passt in ns
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/shutdown/passt_in_ns - Shut down passt and check exit code (will detect
# test/passt_in_ns/shutdown - Shut down passt and check exit code (will detect
# valgrind errors amongst others)
#
# Copyright (c) 2022 Red Hat GmbH

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/tcp/passt_in_ns - Check TCP functionality for passt in ns with pasta
# test/passt_in_ns/tcp - Check TCP functionality for passt in ns with pasta
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/udp/passt_in_ns - Check UDP functionality for passt in ns and pasta
# test/passt_in_ns/udp - Check UDP functionality for passt in ns and pasta
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/dhcp/pasta - Check DHCP and DHCPv6 functionality in pasta mode
# test/pasta/dhcp - Check DHCP and DHCPv6 functionality in pasta mode
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/ndp/pasta - Check DHCP and DHCPv6 functionality in pasta mode
# test/pasta/ndp - Check DHCP and DHCPv6 functionality in pasta mode
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/tcp/pasta - Check TCP functionality for pasta
# test/pasta/tcp - Check TCP functionality for pasta
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -6,7 +6,7 @@
# PASTA - Pack A Subtle Tap Abstraction
# for network namespace/tap device mode
#
# test/udp/pasta - Check UDP functionality for pasta
# test/pasta/udp - Check UDP functionality for pasta
#
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>

View file

@ -74,40 +74,40 @@ run() {
teardown distro
setup pasta
test ndp/pasta
test dhcp/pasta
test tcp/pasta
test udp/pasta
test shutdown/passt
test pasta/ndp
test pasta/dhcp
test pasta/tcp
test pasta/udp
test passt/shutdown
teardown pasta
setup passt
test ndp/passt
test dhcp/passt
test tcp/passt
test udp/passt
test shutdown/passt
test passt/ndp
test passt/dhcp
test passt/tcp
test passt/udp
test passt/shutdown
teardown passt
VALGRIND=1
setup passt_in_ns
test ndp/passt
test dhcp/passt
test icmp/passt_in_ns
test tcp/passt_in_ns
test udp/passt_in_ns
test shutdown/passt_in_ns
test passt/ndp
test passt/dhcp
test passt_in_ns/icmp
test passt_in_ns/tcp
test passt_in_ns/udp
test passt_in_ns/shutdown
teardown passt_in_ns
VALGRIND=0
setup passt_in_ns
test ndp/passt
test dhcp/passt
test passt/ndp
test passt/dhcp
test perf/passt_tcp
test perf/passt_udp
test perf/pasta_tcp
test perf/pasta_udp
test shutdown/passt_in_ns
test passt_in_ns/shutdown
teardown passt_in_ns
setup two_guests