Skip to content

Commit 7881246

Browse files
committed
Added/Updated tests\bugs\core_5501_test.py: minor change: adjusted comments
1 parent 17ea299 commit 7881246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/bugs/core_5501_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
and doing this for each subsequent page. Dictionary 'broken_pages_map' is used to store LIST of pages
1717
for each encountered page type;
1818
* close connection;
19-
* open test DB file in binary mode for reading and writing, and:
19+
* open test DB file in binary mode for writing and:
2020
** store previous content of .fdb in variable 'raw_db_content' (for further restore);
2121
** for every page types that are stored in broken_pages_map.keys():
22-
**** get list of pages of that type which must be broken;
23-
**** if page_type is POINTER_PAGE or IDX_ROOT_PAGE - do nothing (we can get problems if these pages are broken);
24-
**** otherwise put 'garbage bytes' in each of these pages;
22+
*** get list of pages of that type which must be broken;
23+
*** if page_type is POINTER_PAGE or IDX_ROOT_PAGE - do nothing (we can get problems if these pages are broken);
24+
*** otherwise put 'garbage bytes' in each of these pages (multiple pages for each type will be damaged);
2525
* close DB file
2626
* ENCRYPT database, see call of func 'run_encr_decr';
2727
* run 'gstat -e' and check its output for presense of several expected patterns:

0 commit comments

Comments
 (0)