]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - samples/bpf/test_override_return.sh
Merge branch 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[mirror_ubuntu-eoan-kernel.git] / samples / bpf / test_override_return.sh
CommitLineData
965de87e
JB
1#!/bin/bash
2
3rm -f testfile.img
4dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
5DEVICE=$(losetup --show -f testfile.img)
6mkfs.btrfs -f $DEVICE
7mkdir tmpmnt
8./tracex7 $DEVICE
9if [ $? -eq 0 ]
10then
11 echo "SUCCESS!"
12else
13 echo "FAILED!"
14fi
15losetup -d $DEVICE