diff options
author | Michael Pratt <mpratt@google.com> | 2019-03-05 13:53:36 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-05 13:54:38 -0800 |
commit | bd46185e24e03b93ac551a5ddfffb06975f157c8 (patch) | |
tree | 7a9ad36b72a017e4e960408a0e9e1743aaf32d8e /test/syscalls/linux/inotify.cc | |
parent | dcb634ce73f51a1c32e1632d5b5011b3cf56a862 (diff) |
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
Diffstat (limited to 'test/syscalls/linux/inotify.cc')
-rw-r--r-- | test/syscalls/linux/inotify.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/inotify.cc b/test/syscalls/linux/inotify.cc index 5c66db7c8..88997094c 100644 --- a/test/syscalls/linux/inotify.cc +++ b/test/syscalls/linux/inotify.cc @@ -1072,7 +1072,7 @@ TEST(Inotify, ChmodGeneratesAttribEvent_NoRandomSave) { }; // Don't do cooperative S/R tests for any of the {f}chmod* syscalls below, the - // test will always fail because nodes cannot be saved when they have stricted + // test will always fail because nodes cannot be saved when they have stricter // permissions than the original host node. const DisableSave ds; |