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