mirror of
				https://github.com/isar/libmdbx.git
				synced 2025-11-04 05:08:57 +08:00 
			
		
		
		
	mdbx-tests: добавление поддержки опции MDBX_VALIDATION и использование в стохастическом тесте.
				
					
				
			This commit is contained in:
		@@ -342,6 +342,7 @@ const struct option_verb mode_bits[] = {{"rdonly", unsigned(MDBX_RDONLY)},
 | 
			
		||||
                                        {"perturb", unsigned(MDBX_PAGEPERTURB)},
 | 
			
		||||
                                        {"accede", unsigned(MDBX_ACCEDE)},
 | 
			
		||||
                                        {"exclusive", unsigned(MDBX_EXCLUSIVE)},
 | 
			
		||||
                                        {"validation", unsigned(MDBX_VALIDATION)},
 | 
			
		||||
                                        {nullptr, 0}};
 | 
			
		||||
 | 
			
		||||
const struct option_verb table_bits[] = {{"key.reverse", unsigned(MDBX_REVERSEKEY)},
 | 
			
		||||
 
 | 
			
		||||
@@ -440,7 +440,7 @@ else
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ "$EXTRA" != "no" ]; then
 | 
			
		||||
  options=(perturb nomeminit nordahead writemap lifo nostickythreads)
 | 
			
		||||
  options=(perturb nomeminit nordahead writemap lifo nostickythreads validation)
 | 
			
		||||
else
 | 
			
		||||
  options=(writemap lifo nostickythreads)
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user