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