From bd46185e24e03b93ac551a5ddfffb06975f157c8 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Tue, 5 Mar 2019 13:53:36 -0800 Subject: Add NoRandomSave to tests with correctness DisableSave Tests using DisableSave because a portion of the test is *incompatible* with S/R clearly cannot use random S/R, as the saves may occur in the DisableSave critical section. Most such tests already have NoRandomSave. Add it to the rest. PiperOrigin-RevId: 236914708 Change-Id: Iee1cf044cfa7cb8d5aba21ddc130926218210c48 --- test/syscalls/linux/stat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/syscalls/linux/stat.cc') diff --git a/test/syscalls/linux/stat.cc b/test/syscalls/linux/stat.cc index aea19dbff..625392375 100644 --- a/test/syscalls/linux/stat.cc +++ b/test/syscalls/linux/stat.cc @@ -278,7 +278,7 @@ TEST_F(StatTest, LinkCountsWithRegularFileChild) { // This test verifies that inodes remain around when there is an open fd // after link count hits 0. -TEST_F(StatTest, ZeroLinksOpenFdRegularFileChild) { +TEST_F(StatTest, ZeroLinksOpenFdRegularFileChild_NoRandomSave) { // Setting the enviornment variable GVISOR_GOFER_UNCACHED to any value // will prevent this test from running, see the tmpfs lifecycle. // -- cgit v1.2.3