flash: test existing mount with spaces

This commit is contained in:
Jörg Thalheim
2025-04-08 17:52:58 +02:00
parent a68f50fde3
commit bbcc7f6e3b

View File

@@ -36,7 +36,6 @@
perSystem = perSystem =
{ {
nodes,
pkgs, pkgs,
lib, lib,
... ...
@@ -79,6 +78,8 @@
testScript = '' testScript = ''
start_all() 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}") machine.succeed("clan flash write --debug --flake ${../..} --yes --disk main /dev/vdb test-flash-machine-${pkgs.hostPlatform.system}")
''; '';
} { inherit pkgs self; }; } { inherit pkgs self; };