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:
Christian Ebner 2019-07-16 13:19:51 +02:00 committed by Dietmar Maurer
parent 0b39674895
commit 4204e53560

View File

@ -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())