summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/zram/zram.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/zram/zram.sh')
-rwxr-xr-xtools/testing/selftests/zram/zram.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/testing/selftests/zram/zram.sh b/tools/testing/selftests/zram/zram.sh
index 20de9a761269..683a292e3290 100755
--- a/tools/testing/selftests/zram/zram.sh
+++ b/tools/testing/selftests/zram/zram.sh
@@ -1,15 +1,7 @@
#!/bin/bash
TCID="zram.sh"
-check_prereqs()
-{
- local msg="skip all tests:"
-
- if [ $UID != 0 ]; then
- echo $msg must be run as root >&2
- exit 0
- fi
-}
+. ./zram_lib.sh
run_zram () {
echo "--------------------"