diff --git a/core/lvm_test.go b/core/lvm_test.go index fd559ab7..83983569 100644 --- a/core/lvm_test.go +++ b/core/lvm_test.go @@ -30,7 +30,15 @@ func TestMain(m *testing.M) { } device = string(ret) device = device[:len(device)-1] - //Create device label and add some partitions + + // Test: Show all devices + out, err := exec.Command("lsblk", "-f").Output() + if err != nil { + panic("error listing block devices: " + err.Error()) + } + fmt.Println(string(out)) + + // Create device label and add some partitions albiusDevice, err := LocateDisk(device) if err != nil { panic("error finding loop device: " + err.Error())