xref: /linux/tools/testing/selftests/damon/_common.sh (revision ec4d11fc4b2dd4a2fa8c9d801ee9753b74623554)
1#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0
3
4check_dependencies()
5{
6	if [ $EUID -ne 0 ]
7	then
8		echo "Run as root"
9		exit $ksft_skip
10	fi
11}
12