From 5c4058d5ac7e7944973ca8216c258fc50c194e22 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 01:52:49 +0900 Subject: app: run in native sandbox Signed-off-by: Ophestra --- cmd/fpkg/test/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/fpkg/test') 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']}") -- cgit v1.3.1