projects
/
platform
/
kernel
/
linux-rpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'armsoc-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[platform/kernel/linux-rpi.git]
/
samples
/
bpf
/
test_override_return.sh
1
#!/bin/bash
2
3
rm -r tmpmnt
4
rm -f testfile.img
5
dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
6
DEVICE=$(losetup --show -f testfile.img)
7
mkfs.btrfs -f $DEVICE
8
mkdir tmpmnt
9
./tracex7 $DEVICE
10
if [ $? -eq 0 ]
11
then
12
echo "SUCCESS!"
13
else
14
echo "FAILED!"
15
fi
16
losetup -d $DEVICE