summaryrefslogtreecommitdiff
path: root/yarns/obnam.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-26 14:51:57 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-26 14:51:57 +0000
commit57d016517b38043962dfd4a428869565163c1fa2 (patch)
tree09607142d3942bf248589bc34405ffb6c7023a2d /yarns/obnam.sh
parentf5502b638093291eb9cf39c1506f77ef391ff270 (diff)
downloadobnam-57d016517b38043962dfd4a428869565163c1fa2.tar.gz
Fix file restore, add xattr value change test
The single file restore test had a bug, in that it was depending on various test steps to execute fast enough that the wall clock did not advance to the next second. This has been fixed by allowing manifests to be done on single files instead of just directories. Add a test for an extended attribute value changing, and that being the only change in the live data. The backup needs to notice that it has changed. This was intended to be the original change in this commit, but I ran into the test bug above, so I had to fix that too. I was too lazy to detangle the two sets of changes for commits.
Diffstat (limited to 'yarns/obnam.sh')
-rw-r--r--yarns/obnam.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarns/obnam.sh b/yarns/obnam.sh
index f05393b2..55fc2336 100644
--- a/yarns/obnam.sh
+++ b/yarns/obnam.sh
@@ -121,7 +121,7 @@ normalise_manifest_times()
}
-# Create a manifest with summain of a directory.
+# Create a manifest with summain of a file or a directory.
manifest()
{