#!/bin/bash

pkg=microbegps


if [ "$AUTOPKGTEST_TMP" = ""]; then
	AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`

	trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM

fi

cd $AUTOPKGTEST_TMP

# Start program

echo "Starting MicrobeGPS"

timeout 10s MicrobeGPS || true

echo "Pass"