mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-05 21:21:44 +00:00
Fix test
The test creates a file "foo1" in version 10 with contents "foo1", and a file "foo" with contents "foo". In version 20, the file "foo" is removed. In version 30, the file "foo" is created with contents "foo1", and the file "foo1" is removed. With rename detection, it correctly identifies that the version 20 foo1 file should be renamed to the version 30 foo file. Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
This commit is contained in:
committed by
Matthew Johnson
parent
4238ab2fec
commit
3a1de36cd5
@@ -364,7 +364,7 @@ func TestCreateManifestResurrect(t *testing.T) {
|
||||
mustGenFile(t, testDir, "30", "test-bundle", "foo", "foo1")
|
||||
mustCreateManifestsStandard(t, 30, testDir)
|
||||
|
||||
checkManifestContains(t, testDir, "30", "test-bundle", AllZeroHash+"\t30\t/foo1\n")
|
||||
checkManifestNotContains(t, testDir, "30", "test-bundle", AllZeroHash+"\t30\t/foo1\n")
|
||||
checkManifestContains(t, testDir, "30", "test-bundle", "\t30\t/foo\n")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user