diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-14 17:34:50 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-05-14 17:34:50 +0000 |
commit | 41c647ec20d3e58348535e5d2f76f80e977b47ce (patch) | |
tree | c249faf7f1c5c8047213b67619448b605a7d1690 /morphlib/bins_tests.py | |
parent | cd8170c8f7a6c8c82d43f8b992c07041fa22a31b (diff) | |
download | morph-41c647ec20d3e58348535e5d2f76f80e977b47ce.tar.gz |
builder: use the same tar extract logic for all artifacts
Before only the staging area had symbolic links handled, now
strata and systems will have the same logic.
Diffstat (limited to 'morphlib/bins_tests.py')
-rw-r--r-- | morphlib/bins_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/bins_tests.py b/morphlib/bins_tests.py index 82ceb246..dd2fb886 100644 --- a/morphlib/bins_tests.py +++ b/morphlib/bins_tests.py @@ -113,7 +113,7 @@ class ChunkTests(BinsTest): def unpack_chunk(self): os.mkdir(self.unpacked) - morphlib.bins.unpack_binary(self.chunk_file, self.unpacked, self.ex) + morphlib.bins.unpack_binary(self.chunk_file, self.unpacked) def test_empties_everything(self): self.create_chunk(['.']) @@ -158,7 +158,7 @@ class StratumTests(BinsTest): morphlib.bins.create_stratum(self.instdir, self.stratum_f, self.ex) self.stratum_f.flush() os.mkdir(self.unpacked) - morphlib.bins.unpack_binary(self.stratum_file, self.unpacked, self.ex) + morphlib.bins.unpack_binary(self.stratum_file, self.unpacked) self.assertEqual(self.recursive_lstat(self.instdir), self.recursive_lstat(self.unpacked)) |