update fds-flash tool
This commit is contained in:
@@ -88,6 +88,12 @@ class CleanupTests(unittest.TestCase):
|
||||
self.file('out/manifests/dasung-s6-database.txt', str(self.root / 'out/dasung-s6.new000/compiled'))
|
||||
self.file('out/workstation-images.new000/acceptance.json')
|
||||
self.file('out/workstation-images-current.txt', 'out/workstation-images.new000\n')
|
||||
self.file('out/workstation-flash.old000/disk.img')
|
||||
self.file('out/workstation-flash.new000/acceptance.json')
|
||||
self.file('out/workstation-flash-current.txt', 'out/workstation-flash.new000\n')
|
||||
self.file('out/workstation-flash-vm.old000/fixture.tar')
|
||||
self.file('out/workstation-flash-vm.new000/acceptance.json')
|
||||
self.file('out/workstation-flash-vm-current.txt', 'out/workstation-flash-vm.new000\n')
|
||||
self.file('out/m9-images.old000/root/program.img')
|
||||
self.file('out/m9-images.new000/root/program.img')
|
||||
os.utime(self.root / 'out/m9-images.old000', ns=(1, 1))
|
||||
@@ -95,7 +101,8 @@ class CleanupTests(unittest.TestCase):
|
||||
self.file('out/m8-vm.other0/disk.img')
|
||||
(self.root / 'out/m8-vm.kept00/dependency').symlink_to('../m8-vm.other0')
|
||||
self.assertEqual(self.selected(), {
|
||||
'out/emu-test.old000', 'out/dasung-s6.old000', 'out/m9-images.old000'})
|
||||
'out/emu-test.old000', 'out/dasung-s6.old000', 'out/m9-images.old000',
|
||||
'out/workstation-flash.old000', 'out/workstation-flash-vm.old000'})
|
||||
|
||||
def test_symlinks_do_not_delete_external_content(self):
|
||||
outside = Path(self.temporary.name) / 'outside'
|
||||
|
||||
Reference in New Issue
Block a user