aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg/test/test.py
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-25 01:52:49 +0900
committerOphestra <cat@gensokyo.uk>2025-03-25 01:52:49 +0900
commit5c4058d5ac7e7944973ca8216c258fc50c194e22 (patch)
treec06597903233c75eca5a1edae8b06d93f0f81774 /cmd/fpkg/test/test.py
parente732dca7629edb503df0c65df5f37a99600d567d (diff)
app: run in native sandbox
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fpkg/test/test.py')
-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']}")