xref: /kernel/linux/linux-6.6/tools/testing/selftests/bpf/test_bpftool.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/bpf/
162306a36Sopenharmony_ci#!/bin/bash
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
362306a36Sopenharmony_ci# Copyright (c) 2020 SUSE LLC.
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci# 'make -C tools/testing/selftests/bpf install' will install to SCRIPT_DIR
662306a36Sopenharmony_ciSCRIPT_DIR=$(dirname $(realpath $0))
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci# 'make -C tools/testing/selftests/bpf' will install to BPFTOOL_INSTALL_PATH
962306a36Sopenharmony_ciBPFTOOL_INSTALL_PATH="$SCRIPT_DIR"/tools/sbin
1062306a36Sopenharmony_ciexport PATH=$SCRIPT_DIR:$BPFTOOL_INSTALL_PATH:$PATH
1162306a36Sopenharmony_cipython3 -m unittest -v test_bpftool.TestBpftool
12

Indexes created Thu Nov 07 10:32:03 CST 2024