drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
[drm/drm-misc.git] / samples / bpf / test_override_return.sh
blob35db26f736b9d99238f5e8f1c5348a5017b48f77
1 #!/bin/bash
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!"
16 losetup -d $DEVICE