aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg/test
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fpkg/test')
-rw-r--r--cmd/fpkg/test/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fpkg/test/test.py b/cmd/fpkg/test/test.py
index eaf07fc5..7d4e0d58 100644
--- a/cmd/fpkg/test/test.py
+++ b/cmd/fpkg/test/test.py
@@ -62,8 +62,8 @@ def check_state(name, enablements):
config = instance['config']
- if len(config['command']) != 1 or not (config['command'][0].startswith("/nix/store/")) or f"fortify-{name}-" not in (config['command'][0]):
- raise Exception(f"unexpected command {instance['config']['command']}")
+ if len(config['args']) != 1 or not (config['args'][0].startswith("/nix/store/")) or f"fortify-{name}-" not in (config['args'][0]):
+ raise Exception(f"unexpected args {instance['config']['args']}")
if config['confinement']['enablements'] != enablements:
raise Exception(f"unexpected enablements {instance['config']['confinement']['enablements']}")