xref: /linux/tools/testing/selftests/damon/_common.sh (revision fdd7c7e0d2ab3987882c570612d4622f437292c7)
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