mirror-linux/tools/testing/selftests
Petr Machata d5ea2bfc80 selftests: forwarding: mirror_gre_lib: Extract generic functions
For non-GRE mirroring tests, a functions along the lines of
do_test_span_gre_dir_ips() and test_span_gre_dir_ips() are necessary,
but such that they don't assume tunnels are involved. Extract the code
from mirror_gre_lib.sh to mirror_lib.sh and convert to just use a given
device without assuming it's named "h3-$tundev". Convert the two
above-mentioned functions to wrappers that pass along the correct device
name.

Add test_span_dir() and fail_test_span_dir() to round up the API for use
by following patches.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-24 22:26:19 -04:00
..
android selftests/android/ion: Makefile: fix build error 2018-03-21 10:40:04 -06:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-05-24 22:20:51 -04:00
breakpoints
capabilities
cpu-hotplug
cpufreq
drivers/gpu
efivarfs
exec
filesystems selftests/filesystems: Don't run dnotify_test by default 2018-04-17 17:01:16 -06:00
firmware selftests:firmware: fixes a call to a wrong function name 2018-04-25 17:27:09 +02:00
ftrace selftests: ftrace: Add a testcase for multiple actions on trigger 2018-04-25 10:28:36 -04:00
futex selftests: futex Makefile add top level TAP header echo to RUN_TESTS 2018-03-07 08:33:35 -07:00
gpio
ia64
intel_pstate selftests/intel_pstate: Fix build rule for x86 2018-04-02 11:55:47 -06:00
ipc
kcmp
kmod
kvm KVM: selftests: exit with 0 status code when tests cannot be run 2018-05-11 11:21:12 +02:00
lib
locking
media_tests selftests: media_tests: Add SPDX license identifier 2018-01-12 11:46:56 -07:00
membarrier membarrier/selftest: Test private expedited sync core command 2018-02-05 21:35:38 +01:00
memfd Merge tag 'linux-kselftest-4.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest 2018-02-28 13:38:52 -08:00
memory-hotplug selftests: memory-hotplug: fix emit_tests regression 2018-03-02 10:12:59 -07:00
mount
mqueue
net selftests: forwarding: mirror_gre_lib: Extract generic functions 2018-05-24 22:26:19 -04:00
networking/timestamping selftests/txtimestamp: Add more configurable parameters 2018-03-16 15:05:57 -04:00
nsfs tools/testing: Fix trailing semicolon 2018-01-12 11:41:33 -07:00
ntb NTB: ntb_test: Update ntb_perf tests 2018-01-28 22:17:24 -05:00
powerpc selftests/powerpc: Fix copyloops build since Power4 assembler change 2018-04-03 21:50:09 +10:00
prctl
proc proc: fixup copyright sign 2018-04-12 20:52:25 -07:00
pstore selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m 2018-02-13 14:09:17 -07:00
ptp
ptrace
rcutorture Merge branches 'fixes.2018.02.23a', 'srcu.2018.02.20a' and 'torture.2018.02.20a' into HEAD 2018-02-23 15:15:41 -08:00
seccomp selftests/seccomp: Allow get_metadata to XFAIL 2018-03-21 10:42:46 -06:00
sigaltstack
size
splice
static_keys
sync selftests: sync: missing CFLAGS while compiling 2018-02-13 11:34:51 -07:00
sysctl
tc-testing tc-testing: fixed copy-pasting error in ife tests 2018-05-17 16:31:43 -04:00
timers
uevent selftests: uevent filtering 2018-05-23 15:24:22 -04:00
user
vDSO selftest/vDSO: fix O= 2018-02-13 11:35:01 -07:00
vm selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus 2018-03-09 16:40:01 -08:00
watchdog
x86 x86/pkeys/selftests: Add a test for pkey 0 2018-05-14 11:14:45 +02:00
zram
.gitignore
Makefile proc: test /proc/self/wchan 2018-04-11 10:28:34 -07:00
gen_kselftest_tar.sh selftests: gen_kselftest_tar.h: Add SPDX license identifier 2018-01-12 11:44:31 -07:00
kselftest.h selftests: kselftest framework: add handling for TAP header level 2018-03-05 19:10:27 -07:00
kselftest_harness.h selftests/seccomp: Allow get_metadata to XFAIL 2018-03-21 10:42:46 -06:00
kselftest_install.sh selftests: kselftest_install.sh: Add SPDX license identifier 2018-01-12 11:45:05 -07:00
lib.mk selftests: Fix lib.mk run_tests target shell script 2018-04-27 16:06:36 -06:00