aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.py')
-rw-r--r--test/test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.py b/test/test.py
index 87e76b01..12a7e486 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}")