Lines Matching refs:testfile
23 # 1. Create a testfile with varying holes and data throughout the file.
34 testfile="$TESTDIR/testfile"
43 log_must mkholes -h 0:$((bs * 6)) $testfile
44 verify_holes_and_data_blocks $testfile 6 0
45 log_must rm $testfile
47 log_must mkholes -h 0:$((bs * 4)) -d $((bs * 4)):$((bs * 2)) $testfile
48 verify_holes_and_data_blocks $testfile 4 2
49 log_must rm $testfile
52 -h $((bs * 4)):$((bs * 2)) $testfile
53 verify_holes_and_data_blocks $testfile 4 2
54 log_must rm $testfile
56 log_must mkholes -h 0:$((bs * 2)) -d $((bs * 2)):$((bs * 4)) $testfile
57 verify_holes_and_data_blocks $testfile 2 4
58 log_must rm $testfile
60 log_must mkholes -d 0:$((bs * 2)) -h $((bs * 2)):$((bs * 4)) $testfile
61 verify_holes_and_data_blocks $testfile 4 2
62 log_must rm $testfile
65 -d $((bs * 4)):$((bs * 2)) $testfile
66 verify_holes_and_data_blocks $testfile 2 4
67 log_must rm $testfile
69 log_must mkholes -d 0:$((bs * 4)) -h $((bs * 4)):$((bs * 2)) $testfile
70 verify_holes_and_data_blocks $testfile 2 4
71 log_must rm $testfile
73 log_must mkholes -d 0:$((bs * 6)) $testfile
74 verify_holes_and_data_blocks $testfile 0 6
75 log_must rm $testfile
80 log_must mkholes -h 0:$len -d $len:$bs $testfile
81 verify_holes_and_data_blocks $testfile $nblks 1
82 log_must rm $testfile