Commit 1a192aac authored by frankiejol's avatar frankiejol
Browse files

refactor(test): skip when run as root

parent 3e152317
......@@ -75,6 +75,15 @@ sub test_compact($vm) {
}
#######################################################
if ($>) {
my $msg = "SKIPPED: Test must run as root";
diag($msg);
SKIP:{
skip($msg,113);
}
done_testing();
exit;
}
clean();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment