selftest/powerpc: Add PAPR sysfs attributes sniff test
authorPratik R. Sampat <psampat@linux.ibm.com>
Thu, 17 Feb 2022 10:53:21 +0000 (16:23 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:05:00 +0000 (00:05 +1100)
commit57201d657eb76d735298405d3200a3b1f67197e1
treeb9f2ef2899757540dcc6914e30826f02f6b4d8f4
parent3c14b73454cf9f6e2146443fdfbdfb912c0efed3
selftest/powerpc: Add PAPR sysfs attributes sniff test

Include a testcase to check if the sysfs files for energy and frequency
related have its related attribute files exist and populated

Signed-off-by: Pratik R. Sampat <psampat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220217105321.52941-3-psampat@linux.ibm.com
tools/testing/selftests/powerpc/Makefile
tools/testing/selftests/powerpc/papr_attributes/.gitignore [new file with mode: 0644]
tools/testing/selftests/powerpc/papr_attributes/Makefile [new file with mode: 0644]
tools/testing/selftests/powerpc/papr_attributes/attr_test.c [new file with mode: 0644]