#!/bin/bash

# this file is auto-generated by generate-sensor-autotests, 
# DO NOT EDIT! Edit the generator script instead.

test "$1" = stop && exit 0
sensors=$(test-sensors | grep "type: " | awk "{print $2}")
if echo "$sensors" | grep -q Prx; then
    test-sensors Prx
else
    echo "Sensor proximity is not present on this device"
    echo "So this case will pass, but you should double check it"
fi
