diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-09-26 15:41:47 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-09-26 15:46:44 +0300 |
commit | f7077dd38b018f19d3a5c7df6accc6b07b8a2356 (patch) | |
tree | 49a453543fc77751890998bcd5a407ee664e1d45 /tests/remfiles07.at | |
parent | 5cb79ed51999e36add131116d3d3db586be9870e (diff) | |
download | tar-f7077dd38b018f19d3a5c7df6accc6b07b8a2356.tar.gz |
Use relative addressing in deferred unlinks.
* src/common.h (tar_dirname): New function.
* src/misc.c (normalize_filename_x): Make extern.
(tar_dirname): New function.
(tar_getcwd): Take into account absoulte pathnames.
* src/unlink.c (deferred_unlink) <dir_idx>: New member; keeps the
value of chdir_current at the moment of structure allocation.
(flush_deferred_unlinks): Use chdir_do and relative addressing.
(queue_deferred_unlink): Initialize dir_idx.
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Add new tests.
* tests/remfiles06.at: Fix description.
* tests/remfiles07.at: Fix description.
* tests/remfiles08.at: New test case.
Diffstat (limited to 'tests/remfiles07.at')
-rw-r--r-- | tests/remfiles07.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/remfiles07.at b/tests/remfiles07.at index 84ab6254..742e0a10 100644 --- a/tests/remfiles07.at +++ b/tests/remfiles07.at @@ -19,8 +19,8 @@ # Reported by: Nathan Stratton Treadway <nathanst@ontko.com> # References: <20130924185129.GO32256@shire.ontko.com> -AT_SETUP([incremental with -C to absolute path]) -AT_KEYWORDS([incremental create remove-files remfiles07]) +AT_SETUP([remove with -C to absolute path]) +AT_KEYWORDS([create remove-files remfiles07]) AT_TAR_CHECK([ AT_SORT_PREREQ |