fix tests

This commit is contained in:
Girish Ramakrishnan
2025-09-13 14:51:30 +02:00
parent 045187fe2d
commit 43cc91aca2
7 changed files with 28 additions and 12 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ async function getBlockDevices() {
const result = [];
for (const device of devices) {
const mountpoints = Array.isArray(device.mountpoints) ? device.mountpoints : [ device.mountpoint ]; // we only support one mountpoint here old lsblk only exposed one via .mountpoint
if (mountpoints.includes('/') || mountpoints.includes('/boot')) continue;
if (mountpoints.includes('/') || mountpoints.includes('/boot')) continue; // cannot be used for backups and volumes
result.push({
path: device.name,