diff --git a/test/test.py b/test/test.py index 87e76b0..12a7e48 100644 --- a/test/test.py +++ b/test/test.py @@ -95,6 +95,9 @@ print(denyOutput) denyOutputVerbose = machine.fail("sudo -u untrusted -i fortify -v run &>/dev/stdout") print(denyOutputVerbose) +# Fail direct fsu call: +print(machine.fail("sudo -u alice -i fsu")) + # Verify PrintBaseError behaviour: if denyOutput != "fsu: uid 1001 is not in the fsurc file\n": raise Exception(f"unexpected deny output:\n{denyOutput}")