tests/pxar.rs: Change rsync options to --archive
By this the pxar integrity test checks for even more attributes such as a e.g. correctly restored timestamp. See `man rsync` for details. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
0b39674895
commit
4204e53560
@ -39,12 +39,7 @@ fn pxar_create_and_extract() {
|
||||
let stdout = Command::new("rsync")
|
||||
.arg("--dry-run")
|
||||
.arg("--itemize-changes")
|
||||
.arg("--recursive")
|
||||
.arg("--acls")
|
||||
.arg("--xattrs")
|
||||
.arg("--owner")
|
||||
.arg("--group")
|
||||
.arg("--hard-links")
|
||||
.arg("--archive")
|
||||
.arg(src_dir)
|
||||
.arg(dest_dir)
|
||||
.stdout(Stdio::piped())
|
||||
|
Loading…
Reference in New Issue
Block a user