xref: /linux/tools/testing/selftests/drivers/net/dsa/run_net_forwarding_test.sh (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0
3
4libdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
5testname=$(basename "${BASH_SOURCE[0]}")
6
7source "$libdir"/forwarding.config
8cd "$libdir"/../../../net/forwarding/ || exit 1
9source "./$testname" "$@"
10