#!/bin/sh

set -e

cpucycles-info

if ! cpucycles-info | grep '^cpucycles observed persecond'; then
    echo "FAIL: unexpected cpucycles output" >&2;
    exit 1
fi

exit 0
