Mark python test as skipped with exit code 77.

This commit is contained in:
Milan Broz
2017-08-25 22:35:20 +02:00
parent fb114d8d20
commit 34b79794ea

View File

@@ -53,7 +53,7 @@ def print_status(c):
if os.geteuid() != 0:
print("WARNING: You must be root to run this test, test skipped.")
sys.exit(0)
sys.exit(77)
os.system("dd if=/dev/zero of=" + IMG + " bs=1M count=32 >/dev/null 2>&1")