Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs/test/runlist-data
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17705/test/runlist-data
Modified Files:
pure-cm pure-cs pure-nm pure-ns zero
Log Message:
runlist behaviour changed! please check your applications.
test case 16, where a run is added beyond the end of a file, now behaves
differently. the discontinuity (gap) is now filled with a "not mapped"
run (before the preceding hole would have been extended).
Anton's bugfix applied and tested
minor code tidyups
loads more comments in runlist_{insert,append,split,replace}
test cases checked and updated where necessary
valgrind happy
Index: pure-cm
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/test/runlist-data/pure-cm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- pure-cm 13 Sep 2005 18:51:16 -0000 1.2
+++ pure-cm 15 Sep 2005 23:42:02 -0000 1.3
@@ -453,7 +453,8 @@ src:
res:
VCN LCN len
0 1000 100
- 100 HOLE 140
+ 100 HOLE 100
+ 200 NOTMAP 40
240 1240 10
250 1250 10
260 1260 10
Index: pure-cs
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/test/runlist-data/pure-cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- pure-cs 13 Sep 2005 18:51:16 -0000 1.2
+++ pure-cs 15 Sep 2005 23:42:02 -0000 1.3
@@ -360,7 +360,8 @@ src:
res:
VCN LCN len
0 1000 100
- 100 HOLE 140
+ 100 HOLE 100
+ 200 NOTMAP 40
240 1240 40
280 ENOENT 0
Index: pure-nm
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/test/runlist-data/pure-nm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- pure-nm 13 Sep 2005 18:51:16 -0000 1.2
+++ pure-nm 15 Sep 2005 23:42:02 -0000 1.3
@@ -462,7 +462,8 @@ src:
res:
VCN LCN len
0 1000 100
- 100 HOLE 140
+ 100 HOLE 100
+ 200 NOTMAP 40
240 2239 10
250 2249 10
260 2259 10
Index: pure-ns
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/test/runlist-data/pure-ns,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- pure-ns 13 Sep 2005 18:51:16 -0000 1.2
+++ pure-ns 15 Sep 2005 23:42:02 -0000 1.3
@@ -369,7 +369,8 @@ src:
res:
VCN LCN len
0 1000 100
- 100 HOLE 140
+ 100 HOLE 100
+ 200 NOTMAP 40
240 2239 40
280 ENOENT 0
Index: zero
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/test/runlist-data/zero,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- zero 13 Sep 2005 14:30:54 -0000 1.1
+++ zero 15 Sep 2005 23:42:02 -0000 1.2
@@ -9,5 +9,5 @@ res:
VCN LCN len
0 NOTMAP 10
10 99 5
- 0 0 0
+ 15 NOTMAP 0
|