From a4781e218cc308a178ac99cbccbe0dfcab4dceb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 8 Apr 2025 17:52:58 +0200 Subject: [PATCH] flash: test existing mount with spaces --- checks/flash/flake-module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/checks/flash/flake-module.nix b/checks/flash/flake-module.nix index 47f528d80..ae5ebbfc4 100644 --- a/checks/flash/flake-module.nix +++ b/checks/flash/flake-module.nix @@ -36,7 +36,6 @@ perSystem = { - nodes, pkgs, lib, ... @@ -79,6 +78,8 @@ testScript = '' start_all() + # Some distros like to automount disks with spaces + machine.succeed('mkdir -p "/mnt/with spaces" && mkfs.ext4 /dev/vdb && mount /dev/vdb "/mnt/with spaces"') machine.succeed("clan flash write --debug --flake ${../..} --yes --disk main /dev/vdb test-flash-machine-${pkgs.hostPlatform.system}") ''; } { inherit pkgs self; };