freezer/tests
shangzhong.zhu 6f1b051292 Remove tar option "--overwrite" when extracting archives
The tar option "--overwrite" is in confict with "--unlink-first"
when extracting archives.

freezer-agent occurs error "Restore error: /usr/local/bin/tar:
'--overwrite' cannot be used with '--unlink-first'"
when GNU tar 1.29 is being used.

--overwrite: No matter what the file timestamp is, replace it with
             the archive version. Notice, that replacing means
             unlinking old file and creating a new one in its stead.
--unlink-first: Same as --overwrite, the only difference being that
                --unlink-first tries to unlink file before opening
                (even if it does not exist), while --overwrite
                unlinks it only after opening it returns EEXIST.
from http://lists.gnu.org/archive/html/bug-tar/2005-05/msg00056.html

Change-Id: I2423c27c2d522a1dbf9270f9a81fc99c68c4845e
Closes-Bug: #1609704
2016-08-30 14:40:46 +08:00
..
integration Remove auto_snap 2016-05-05 12:43:27 +01:00
unit Remove tar option "--overwrite" when extracting archives 2016-08-30 14:40:46 +08:00
__init__.py Added unittest for utils.py 2014-12-06 17:36:53 +00:00