|
|
@ -34,13 +34,13 @@ preparing test prerequisite easier ) |
|
|
|
9. Now you should get updated file A,B,C |
|
|
|
*/ |
|
|
|
|
|
|
|
/* |
|
|
|
func TestMakeDiff(t *testing.T) { |
|
|
|
|
|
|
|
v := new(Volume) |
|
|
|
//lastCompactIndexOffset value is the index file size before step 4
|
|
|
|
v.lastCompactIndexOffset = 96 |
|
|
|
v.SuperBlock.version = 0x2 |
|
|
|
/* |
|
|
|
err := v.makeupDiff( |
|
|
|
"/yourpath/1.cpd", |
|
|
|
"/yourpath/1.cpx", |
|
|
@ -51,5 +51,5 @@ func TestMakeDiff(t *testing.T) { |
|
|
|
} else { |
|
|
|
t.Log("makeupDiff Succeeded") |
|
|
|
} |
|
|
|
} |
|
|
|
*/ |
|
|
|
} |