xref: /linux/tools/testing/selftests/drivers/net/dsa/no_forwarding.sh (revision 9fad9d560af5c654bb38e0b07ee54a4e9acdc5cd)
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