cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

test_bpftool.sh (415B)


      1#!/bin/bash
      2# SPDX-License-Identifier: GPL-2.0
      3# Copyright (c) 2020 SUSE LLC.
      4
      5# 'make -C tools/testing/selftests/bpf install' will install to SCRIPT_DIR
      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
     10export PATH=$SCRIPT_DIR:$BPFTOOL_INSTALL_PATH:$PATH
     11python3 -m unittest -v test_bpftool.TestBpftool