diff --git a/tests/Makefile.am b/tests/Makefile.am index 9bc5302c..834fb7c7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -143,7 +143,7 @@ TESTS = \ $(NULL) test: - @whoami | grep root || ( echo ERROR: not running as root; exit 1 ) + @whoami | grep -q root || ( echo ERROR: not running as root; exit 1 ) @./check_drm_clients @make TESTS="${kernel_tests}" check