Merge pull request #2940 from kolyshkin/intelrdt-unit-test

libct/intelrdt: fix unit test
This commit is contained in:
Akihiro Suda
2021-05-20 13:43:20 +09:00
committed by GitHub
+1 -1
View File
@@ -217,10 +217,10 @@ func TestFindIntelRdtMountpointDir(t *testing.T) {
},
}
t.Parallel()
for _, tc := range testCases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
mbaScEnabled = false
mp, err := findIntelRdtMountpointDir(tc.input)
if tc.isNotFoundError {
if !IsNotFound(err) {