diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-12 09:49:01 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-12 09:53:45 +0200 |
commit | d44a1fc45b8f5953f06c13ef3a2936a31fe2a740 (patch) | |
tree | ea211c1abb40cf03645a0cc658dc6878e0af910f /obnam.md | |
parent | e6ee241053915d5322a4f9027a38512c7e755466 (diff) | |
download | obnam2-d44a1fc45b8f5953f06c13ef3a2936a31fe2a740.tar.gz |
test: add scenario for restoring mode bits
Diffstat (limited to 'obnam.md')
-rw-r--r-- | obnam.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -550,6 +550,25 @@ given a manifest of the directory live restored in rest in rest.yaml then files live.yaml and rest.yaml match ~~~ +### Mode bits + +This scenario verifies that the mode ("permission") bits are restored +correctly. + +~~~scenario +given an installed obnam +and a running chunk server +and a client config based on metadata.yaml +and a file live/data.dat containing some random data +and file live/data.dat has mode 464 +and a manifest of the directory live in live.yaml +when I run obnam backup metadata.yaml +then backup generation is GEN +when I invoke obnam restore metadata.yaml <GEN> rest +given a manifest of the directory live restored in rest in rest.yaml +then files live.yaml and rest.yaml match +~~~ + |