<div>Dear All,</div><div><strong></strong> </div><div><strong>Test Case:13<br></strong> echo " 13. data -> unwritten -> data"<br> rm -f $testfile<br> $XFS_IO_PROG $xfs_io_opt -f -c "truncate 20k" \<br>
-c "$alloc_cmd 0 20k" \<br> -c "pwrite 0k 8k" -c "fsync" \<br> -c "pwrite 12k 8k" -c "fsync" \<br> -c "$zero_cmd 4k 12k" \<br>
-c "$map_cmd -v" $testfile | $filter_cmd<br> [ $? -ne 0 ] && die_now </div><p><strong>After executing individual case like this:<br></strong>testfile=/data/usb/sda3/252.testfile</p>
<p>echo "13. data -> unwritten -> data"<br>rm -f $testfile<br>xfs_io -f -c "truncate 20k" -c \<br>"falloc 0 20k" -c "pwrite 0k 8k" -c "fsync" -c "pwrite 12k 8k" -c \<br>
"fsync" -c "fpunch 4k 12k" -c "fiemap -v" $testfile | $filter_cmd</p><p><strong>Original Output(Taken from 252.out):<br></strong> 13. data -> unwritten -> data<br>0: [0..7]: data<br>
1: [8..31]: hole<br>2: [32..39]: data</p><div><strong>Output in my case</strong><br> 13. data -> unwritten -> data<br>0: [0..15]: data<br>1: [16..23]: unwritten<br>2: [24..39]: data<br><br>Please let me know about the vailidity of this result. </div>
<div> </div><div>Thanks & Regards,</div><div>Amit Sahrawat<br></div><div class="gmail_quote">On Wed, Jun 22, 2011 at 3:54 PM, Amit Sahrawat <span dir="ltr"><<a href="mailto:amit.sahrawat83@gmail.com">amit.sahrawat83@gmail.com</a>></span> wrote:<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote"><div>While executing Test case no: 252 from xfstestsuites - I got Output mismatch.</div>
<div> </div><div><strong>Environment tried:</strong></div><div><strong>X86 : Linux version 2.6.31.5-127.fc12.i686.PAE</strong></div><div>
<strong>ARM: Linux version2.6.35.13</strong></div><div> </div><div>On looking at the test case and then dividing the total case into invidual test's I could somehow correlate the results as per the commands issues.</div>
<div>Complete output for the '13' commands in this case is as given below:</div><div> </div><div>[root@localhost PROGS]# sh cmd.sh <br> 1. into a hole<br>0: [0..7]: hole<br>1: [8..23]: unwritten<br>2: [24..39]: hole<br>
2. into allocated space<br>0: [0..39]: data<br> 3. into unwritten space<br>0: [0..39]: unwritten<br> 4. hole -> data<br>0: [0..7]: hole<br>1: [8..15]: unwritten<br>2: [16..31]: data<br>3: [32..39]: hole<br> 5. hole -> unwritten<br>
0: [0..7]: hole<br>1: [8..15]: unwritten<br>2: [16..31]: unwritten<br>3: [32..39]: hole<br> 6. data -> hole<br>0: [0..15]: data<br>1: [16..23]: unwritten<br>2: [24..39]: hole<br> 7. data -> unwritten<br>0: [0..15]: data<br>
1: [16..31]: unwritten<br>2: [32..39]: hole<br> 8. unwritten -> hole<br>0: [0..23]: unwritten<br>1: [24..39]: hole<br> 9. unwritten -> data<br>0: [0..15]: unwritten<br>1: [16..31]: data<br>2: [32..39]: hole<br> 10. hole -> data -> hole<br>
0: [0..7]: hole<br>1: [8..15]: unwritten<br>2: [16..23]: data<br>3: [24..31]: unwritten<br>4: [32..39]: hole<br> 11. data -> hole -> data<br>0: [0..15]: data<br>1: [16..23]: unwritten<br>2: [24..39]: data<br> 12. unwritten -> data -> unwritten<br>
0: [0..15]: unwritten<br>1: [16..23]: data<br>2: [24..39]: unwritten<br> 13. data -> unwritten -> data<br>0: [0..15]: data<br>1: [16..23]: unwritten<br>2: [24..39]: data<br>[root@localhost PROGS]# </div><div>The above output seems as per the tests commands issue. Please correct me if i am wrong.</div>
<div>If this correct, then for the test case we need to change 252.out file.</div><div> </div><div>Thanks & Regards,</div><div>Amit Sahrawat</div><font color="#888888"><div> </div><div> </div><div> </div><div> </div>
<div> </div>
</font></blockquote></div><br>