Merge tag 'for-6.11-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-block.git] / tools / testing / selftests / bpf / test_bpftool.sh
CommitLineData
73633274
MR
1#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0
3# Copyright (c) 2020 SUSE LLC.
4
404bd9ff 5# 'make -C tools/testing/selftests/bpf install' will install to SCRIPT_DIR
7a3bdca2
LZ
6SCRIPT_DIR=$(dirname $(realpath $0))
7
8# 'make -C tools/testing/selftests/bpf' will install to BPFTOOL_INSTALL_PATH
9BPFTOOL_INSTALL_PATH="$SCRIPT_DIR"/tools/sbin
404bd9ff 10export PATH=$SCRIPT_DIR:$BPFTOOL_INSTALL_PATH:$PATH
73633274 11python3 -m unittest -v test_bpftool.TestBpftool