Browse Source

[2851] use "non writable" instead of read-only for a test case on this.

in some sense they mean the same thing, but technically there's a subtle
difference between them; "non writable" includes the case the cache (segment)
isn't usable at atll.  calling it "read-only" is not really correct.
JINMEI Tatuya 12 years ago
parent
commit
d4a8366000
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/datasrc/tests/client_list_unittest.cc

+ 3 - 3
src/lib/datasrc/tests/client_list_unittest.cc

@@ -719,13 +719,13 @@ TEST_F(ListTest, badCache) {
 // This test relies on the property of mapped type of cache.
 TEST_F(ListTest,
 #ifdef USE_SHARED_MEMORY
-       cacheInReadOnlySegment
+       cacheInNonWritableSegment
 #else
-       DISABLED_cacheInReadOnlySegment
+       DISABLED_cacheInNonWritableSegment
 #endif
     )
 {
-    // Initializing data source with read-only zone table memory segment
+    // Initializing data source with non writable zone table memory segment
     // is possible.  Loading is just postponed
     const ConstElementPtr elem(Element::fromJSON("["
         "{"