Sergey Poznyakoff
dbbffde583
Fix incremental archiving of renamed directories.
...
* src/incremen.c (struct directory): New member `next'. Change
type of `name'.
(dirhead, dirtail): New statics.
(make_directory): Reflect changes to struct directory.
(free_directory, attach_directory): New functions.
(dirlist_replace_prefix): New function.
(note_directory): Use attach_directory, instead of make_directory,
(find_directory, find_directory_meta): Use free_directory.
(procdir): Replace directory prefixes in directory list to avoid
marking subdirectories as renamed after renaming their parent
directory.
(append_incremental_renames): Iterate over directory list, not
hash table, to preserve logical ordering of renames.
* tests/rename04.at, tests/rename05.at: New test cases.
* tests/Makefile.am, tests/testsuite.at: Add rename04.at and
rename05.at.
* tests/atlocal.in (decho): New function.
* tests/multiv06.at: Use decho instead of echo2.
* tests/incremental.at: Raise wait interval to 2 seconds.
2008-07-31 07:12:50 +00:00
Sergey Poznyakoff
3af9cc0f15
Fix multivolume archive creation when volume length=record size.
...
* src/tar.c (decode_options): Do not allow volume length less
than record size.
* src/buffer.c (_gnu_flush_write): Compensate for the effect
of eventual flush_archive occurring in the middle of buffer
move.
Increment records_written only if _flush_write was able to write
something.
* tests/multiv06.at: New testcase.
* tests/Makefile.am, test/testsuite.at: Add tests/multiv06.at
2008-07-24 18:16:08 +00:00
Sergey Poznyakoff
336519aa4f
Add shortupd.at.
2007-12-05 09:45:35 +00:00
Sergey Poznyakoff
5bb69a88d8
Add shortfile.at
2007-08-24 12:08:47 +00:00
Sergey Poznyakoff
a0fb51e136
Relicense under GPLv3
2007-06-27 13:30:12 +00:00
Sergey Poznyakoff
bde442ba15
Add exclude.at
2007-01-23 10:26:30 +00:00
Sergey Poznyakoff
2504e7d3ae
Add new test cases.
2006-11-01 00:23:52 +00:00
Sergey Poznyakoff
394b12d950
New test grow.at
2006-10-14 21:12:04 +00:00
Sergey Poznyakoff
1118d24fd3
New test verbose.at
2006-10-14 10:46:13 +00:00
Sergey Poznyakoff
e8a4c35a73
Add new testcase: multiv05.at:
2006-10-02 15:44:52 +00:00
Sergey Poznyakoff
ab8711413c
Add append02.at
2006-07-24 09:14:00 +00:00
Sergey Poznyakoff
2a00376816
(TESTSUITE_AT): Add indexfile.at
2006-07-06 20:08:20 +00:00
Sergey Poznyakoff
8e2e731733
Add spmvp00.at, spmpv01.at, spmpv10.at
2006-06-23 15:23:16 +00:00
Sergey Poznyakoff
7cb01d37bb
Add incr04.at
2006-06-02 15:06:10 +00:00
Sergey Poznyakoff
c99076e925
(TESTSUITE_AT): Add chtype.at, volsize.at
...
(check-full): New target
2006-05-13 11:58:16 +00:00
Sergey Poznyakoff
fd89d5a3cd
Add incr03.at,rename01.at,rename02.at,rename03.at
2006-05-08 12:11:43 +00:00
Sergey Poznyakoff
b4d40436fd
(TESTSUITE_AT): Add extrac06.at
2006-04-11 12:00:37 +00:00
Sergey Poznyakoff
208389f3ad
(AM_CPPFLAGS): Define LOCALEDIR
2006-03-11 22:42:07 +00:00
Sergey Poznyakoff
631de61428
Fix copyright years
2006-02-20 10:01:47 +00:00
Sergey Poznyakoff
9fdd5baa0c
(lustar01.at,lustar02.at,lustar03.at): New tests.
2006-02-20 09:41:43 +00:00
Sergey Poznyakoff
c040cabb98
Add incr02.at
2005-12-01 12:51:58 +00:00
Sergey Poznyakoff
5f060c2025
Add new test cases
2005-11-10 13:00:11 +00:00
Paul Eggert
63f64e4aaf
* tests/Makefile.am (clean-local): Don't attempt to run
...
$(TESTSUITE) if it doesn't exist. Problem reported by
Eric Blake.
2005-09-21 19:26:12 +00:00
Sergey Poznyakoff
931e305002
Add incr01.at
2005-09-03 10:28:17 +00:00
Sergey Poznyakoff
b65039526c
Updated
2005-06-23 12:16:00 +00:00
Sergey Poznyakoff
3fe8fc3ef9
Add update.at
2005-06-13 19:11:43 +00:00
Paul Eggert
120e96c480
Update FSF postal mail address.
2005-05-15 03:59:08 +00:00
Sergey Poznyakoff
a33b37a9a3
Add truncate.at
2005-05-12 15:40:07 +00:00
Sergey Poznyakoff
6c6fe16aaa
Add shortrec.at
2005-04-19 09:05:32 +00:00
Sergey Poznyakoff
9147c6c9f6
Add multiv04.at
2005-04-07 17:28:53 +00:00
Sergey Poznyakoff
eaa66dc858
Added append01.at
2005-02-10 22:52:13 +00:00
Sergey Poznyakoff
0dcb0ad279
Added sparse02.at
2005-02-03 00:04:02 +00:00
Sergey Poznyakoff
ebd88883f5
Add append.at
2005-02-01 05:47:20 +00:00
Sergey Poznyakoff
e7db56c0ef
Added long01.at
2005-01-13 16:00:59 +00:00
Sergey Poznyakoff
85d8f1d2a2
Add options02.at
2005-01-06 18:16:50 +00:00
Sergey Poznyakoff
29a6b977e9
(comprec.at,pipe.at): New tests
2004-12-21 13:26:07 +00:00
Sergey Poznyakoff
fa87656256
Distribute star/quicktest.sh
2004-12-20 13:55:22 +00:00
Sergey Poznyakoff
8263cc7bc0
Added delete05.at
2004-12-18 20:08:56 +00:00
Sergey Poznyakoff
71c05b230c
Rewritten for autotest
2004-09-07 18:43:17 +00:00
Sergey Poznyakoff
f3f06e8a71
Removed mksparse
2004-09-07 13:27:14 +00:00
Sergey Poznyakoff
44283eb6ca
Added listed02.sh
2004-09-01 15:06:00 +00:00
Sergey Poznyakoff
1c0a13aade
Added multiv03.sh
2004-08-10 11:17:58 +00:00
Sergey Poznyakoff
34ff480be9
Added extrac05.sh
2004-08-09 11:24:31 +00:00
Sergey Poznyakoff
320298c663
Added link01.sh
2004-08-08 14:21:38 +00:00
Sergey Poznyakoff
fc22e70a00
Updated
2004-05-07 14:49:35 +00:00
Sergey Poznyakoff
ad2c53d626
Added new tests
2004-04-04 09:24:44 +00:00
Sergey Poznyakoff
472f860074
Add longv7.sh
2004-03-26 19:40:27 +00:00
Sergey Poznyakoff
a06ed48867
Added multi-fail.sh
2004-02-29 10:17:18 +00:00
Sergey Poznyakoff
a8d1b579d7
Added new tests
2004-02-29 00:06:16 +00:00
Sergey Poznyakoff
c145d8a6e3
Added listed01.sh
2004-02-21 09:36:15 +00:00