Merge branch 'for-linus' into for-next
[linux-2.6-block.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