Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phd-tests/tests/src/hw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use phd_testcase::*;

#[phd_testcase]
async fn lspci_lifecycle_test(ctx: &Framework) {
const LSPCI: &str = "sudo lspci -vvx";
const LSHW: &str = "sudo lshw -notime";
const LSPCI: &str = "lspci -vvx";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the real trick here is that i don't think there is an lspci (or lshw) in the Alpine image, at least the oldish 3.20 image i've got just says -ash: lshw: not found and the same for lspci. since the output can vary by distro's choice and version of the tools, i think we don't want to just compare to a golden output

i'm pretty sure this is actually why i'd wanted to get #797 in, because the sign that this output is uninformative is, i think, getting a non-zero status.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. we should really try and pick #797 back up, this is a very unfortunate situation.

const LSHW: &str = "lshw -notime";

let mut vm = ctx
.spawn_vm(&ctx.vm_config_builder("lspci_lifecycle_test"), None)
Expand Down
Loading