1 # 2 # This is the test script for the block relocation table. 3 # 4 # Copyright 1997 by Theodore Ts'o. This file may be redistributed 5 # under the terms of the GNU Public License. 6 # 7 # 8 brel_dump 9 brel_put 2 11 10 brel_put 1 10 11 brel_put 3 9 12 brel_put 1 10 4 128 13 # 14 # Test boundary cases for brel_put 15 # 16 brel_put 23 12 17 brel_put 24 13 18 # 19 # Test other boundary cases 20 # 21 brel_get 24 22 brel_delete 24 23 # 24 # Test getting existing and non-existent entries 25 # 26 brel_get 5 27 brel_get 3 28 brel_get 1 29 # 30 # Test the iterator functions 31 # 32 brel_start_iter 33 brel_next 34 brel_next 35 brel_next 36 brel_next 37 # 38 # Test delete and move 39 # 40 brel_delete 2 41 brel_delete 2 42 brel_delete 5 43 brel_move 1 2 44 brel_delete 1 45 brel_move 1 4 46 brel_move 2 5 47 brel_dump 48