]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - samples/bpf/test_override_return.sh
bpf: Fix inner map state pruning regression.
[mirror_ubuntu-jammy-kernel.git] / samples / bpf / test_override_return.sh
CommitLineData
965de87e
JB
1#!/bin/bash
2
7d07006f 3rm -r tmpmnt
965de87e
JB
4rm -f testfile.img
5dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
6DEVICE=$(losetup --show -f testfile.img)
7mkfs.btrfs -f $DEVICE
8mkdir tmpmnt
9./tracex7 $DEVICE
10if [ $? -eq 0 ]
11then
12 echo "SUCCESS!"
13else
14 echo "FAILED!"
15fi
16losetup -d $DEVICE