fix(pipeline,classification): read the brain through brainfs (#157, slice 6) #176
@@ -162,6 +162,6 @@ func TestBackfillRefsDoesNotCopyAPageSwappedInBehindASymlink(t *testing.T) {
|
|||||||
return string(b)
|
return string(b)
|
||||||
}
|
}
|
||||||
require.NoError(t, os.WriteFile(page, []byte(inside), 0o644))
|
require.NoError(t, os.WriteFile(page, []byte(inside), 0o644))
|
||||||
require.Contains(t, read(), "zqinside", "positive control: the regular page gets the ref")
|
require.Contains(t, read(), "[[s|S]]", "positive control: the regular page gets the source ref")
|
||||||
brainfstest.AssertNoLeakFrom(t, page, inside, target, 3*time.Second, read)
|
brainfstest.AssertNoLeakFrom(t, page, inside, target, 3*time.Second, read)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user