summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/damon/_common.sh
blob: 0279698f733e6334f2b7f692c15959a7c60aeef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

check_dependencies()
{
	if [ $EUID -ne 0 ]
	then
		echo "Run as root"
		exit $ksft_skip
	fi
}