Version 1.20.
* configure.ac: Raise version number to 1.20 * src/compare.c (diff_dumpdir): const. * src/common.h (dumpdir_t,dumpdir_iter_t): New data types. (dumpdir_create0,dumpdir_create,dumpdir_free,dumpdir_locate) (dumpdir_first,dumpdir_next): New functions. * src/incremen.c (dumpdir_create0,dumpdir_create,dumpdir_free) (dumpdir_first,dumpdir_next): New functions. (dumpdir_locate): Rewrite using binary search. (struct directory): Change members char *contents, *icontents to struct dumpdir *dump, *idump. All references updated. (note_directory): Last arg is const. * src/names.c (add_hierarchy_to_namelist): buffer is const. * tests/incr03.at, tests/incr04.at, tests/rename02.at, tests/rename03.at: Insert calls to sleep between creation of files and adding them to the archive.
This commit is contained in:
@@ -34,6 +34,8 @@ mkdir directory
|
||||
genfile --file=directory/x
|
||||
genfile --file=directory/y
|
||||
|
||||
sleep 1
|
||||
|
||||
tar -cf archive.1 -g db directory
|
||||
|
||||
mv directory/x directory/z
|
||||
|
||||
@@ -38,6 +38,8 @@ awk 'BEGIN {
|
||||
printf("NAME_PREFIX[%03d]\n", i);
|
||||
}' < /dev/null | genfile --files-from -
|
||||
|
||||
sleep 1
|
||||
|
||||
echo "Initial dump"
|
||||
tar cvf a0.tar -g a.sna a
|
||||
mv a/b a/c
|
||||
|
||||
@@ -34,6 +34,8 @@ genfile --file foo/bar/file.r
|
||||
mkdir foo/bar/baz
|
||||
genfile --file foo/bar/baz/file.z
|
||||
|
||||
sleep 1
|
||||
|
||||
echo "Creating base archive"
|
||||
tar -g incr -cf arch.1 -v foo
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ genfile --file foo/b/fileb
|
||||
mkdir foo/c
|
||||
genfile --file foo/c/filec
|
||||
|
||||
sleep 1
|
||||
|
||||
echo "First dump"
|
||||
echo "First dump">&2
|
||||
tar -g incr -cf arch.1 -v foo 2>tmperr
|
||||
|
||||
Reference in New Issue
Block a user