Use a hard-coded UUID for the failing example to get it to work

This commit is contained in:
nothingnesses
2025-05-07 16:23:03 +01:00
committed by Jörg Thalheim
parent 8d78963819
commit 78d6a1365c
2 changed files with 5 additions and 3 deletions

View File

@@ -129,8 +129,9 @@
};
};
# Example showing a bcachefs filesystem without subvolumes
# and which relies on a subvolume in another filesystem being mounted.
# Example showing a bcachefs filesystem without subvolumes,
# which relies on a subvolume in another filesystem being mounted
# and uses a hard-coded UUID.
relies_on_external_subvolume = {
type = "bcachefs_filesystem";
mountpoint = "/home/Documents";
@@ -141,6 +142,7 @@
mountOptions = [
"verbose"
];
uuid = "64e50034-ebe2-eaf8-1f93-cf56266a8d86";
};
};
};

View File

@@ -109,7 +109,7 @@ diskoLib.testLib.makeDiskoTest {
| .. \
| select(.target? == "/home/Documents") \
| .source \
| contains("/dev/vdd1") \
| contains("/dev/disk/by-uuid/64e50034-ebe2-eaf8-1f93-cf56266a8d86") \
'
""");