From b1ea3b4acf85365fd76c890f8b8852b5f95be5c1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 28 Mar 2026 16:43:02 +0900 Subject: cmd/hakurei: rename app to run The run command was a legacy holdover from very early days and is only useful for testing and demonstration these days. This change also renames it to exec. Signed-off-by: Ophestra --- test/sandbox/configuration.nix | 2 +- test/sandbox/test.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'test/sandbox') diff --git a/test/sandbox/configuration.nix b/test/sandbox/configuration.nix index 80c92fdf..bc189f7d 100644 --- a/test/sandbox/configuration.nix +++ b/test/sandbox/configuration.nix @@ -30,7 +30,7 @@ in # For checking pd outcome: (pkgs.writeShellScriptBin "check-sandbox-pd" '' - hakurei -v run hakurei-test \ + hakurei -v exec hakurei-test \ -p "/var/tmp/.hakurei-check-ok.0" \ -t ${toString (builtins.toFile "hakurei-pd-want.json" (builtins.toJSON testCases.pd.want))} \ -s ${testCases.pd.expectedFilter.${pkgs.stdenv.hostPlatform.system}} "$@" diff --git a/test/sandbox/test.py b/test/sandbox/test.py index c1191483..f188a01d 100644 --- a/test/sandbox/test.py +++ b/test/sandbox/test.py @@ -42,23 +42,23 @@ machine.wait_for_file("/run/user/1000/wayland-1") machine.wait_for_file("/tmp/sway-ipc.sock") # Check pd seccomp outcome: -swaymsg("exec hakurei run cat") +swaymsg("exec hakurei exec cat") check_filter(0, "pdlike", "cat") # Check fd leak: -swaymsg("exec exec 127