From 852ca25f41bf7be8a6a2a8b30c0e2374c10b480e Mon Sep 17 00:00:00 2001 From: Sandro-Alessio Gierens <49617392+gierens@users.noreply.github.com> Date: Tue, 15 Aug 2023 12:31:23 +0200 Subject: Add another lspci test output variant (#761) This adds the expected output to the lspci test I get on my Arch with kernel version 6.1.44-lts and pciutils version 3.10.0. Signed-off-by: Sandro-Alessio Gierens --- test/lspci.expected.out.4 | 30 ++++++++++++++++++++++++++++++ test/test-lspci.sh | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 test/lspci.expected.out.4 (limited to 'test') diff --git a/test/lspci.expected.out.4 b/test/lspci.expected.out.4 new file mode 100644 index 0000000..6a1c973 --- /dev/null +++ b/test/lspci.expected.out.4 @@ -0,0 +1,30 @@ +00:00.0 Non-VGA unclassified device: Device 0000:0000 + Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- + Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- [disabled] + Region 1: I/O ports at [disabled] + Region 2: I/O ports at [disabled] + Region 3: I/O ports at [disabled] + Region 4: I/O ports at [disabled] + Region 5: I/O ports at [disabled] + Capabilities: [40] Power Management version 0 + Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) + Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- + Capabilities: [48] Vendor Specific Information: Len=10 + Capabilities: [58] Express (v0) Endpoint, MSI 00 + DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us + ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset+ SlotPowerLimit 0W + DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- + RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- FLReset- + MaxPayload 128 bytes, MaxReadReq 128 bytes + DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- + LnkCap: Port #0, Speed unknown, Width x0, ASPM not supported + ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp- + LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- + ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- + LnkSta: Speed unknown, Width x0 + TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt- + Capabilities: [100 v0] Device Serial Number ca-fe-ba-be-de-ad-be-ef + Capabilities: [10c v0] Vendor Specific Information: ID=0001 Rev=1 Len=015 + Capabilities: [400 v0] Vendor Specific Information: ID=0002 Rev=2 Len=015 + diff --git a/test/test-lspci.sh b/test/test-lspci.sh index 9cf402f..4d3d89f 100755 --- a/test/test-lspci.sh +++ b/test/test-lspci.sh @@ -16,7 +16,7 @@ test -n "$1" && LSPCI="$1" $LSPCI | lspci -vv -F /dev/stdin >lspci.out -for i in 1 2 3; do +for i in 1 2 3 4; do if diff lspci.out $(dirname $0)/lspci.expected.out.$i >/dev/null 2>&1; then exit 0 fi -- cgit v1.1