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