4f6fbc67bc
faubackup uses a filesystem on a hard drive for incremental and full backups. All backups can easily be accessed by standard filesystem tools. Later backups to the same filesystem will automatically be incremental, as unchanged files are only hard-linked with the existing version of the file. from Sebastian Trahm <basti at schleifi.com>
13 lines
637 B
Plaintext
13 lines
637 B
Plaintext
$OpenBSD: patch-tests_t_find_at,v 1.1.1.1 2008/12/29 19:51:09 sturm Exp $
|
|
--- tests/t_find.at.orig Tue Dec 2 12:20:01 2008
|
|
+++ tests/t_find.at Tue Dec 2 12:20:22 2008
|
|
@@ -47,7 +47,7 @@ AT_CHECK(cd testdir && faubackup-find, , [stdout])
|
|
# if faubackup-find reports too much, it will fail
|
|
# if faubackup-find misses something, then the directory will not be emptied
|
|
# rmdir foo/. does not work, so it must be checked separately
|
|
-AT_CHECK(xargs -0 -n 1 -i <stdout \
|
|
+AT_CHECK(xargs -0 -n 1 -I {} -x <stdout \
|
|
sh -c 'if test -d "checkdir/{}"; then \
|
|
if test "{}" != .; then rmdir "checkdir/{}"; fi; \
|
|
else rm "checkdir/{}"; fi')
|