From: Christian Ebner Date: Tue, 16 Jul 2019 11:19:51 +0000 (+0200) Subject: tests/pxar.rs: Change rsync options to --archive X-Git-Tag: v0.1.3~863 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4204e53560da61cdd53991f3804352cf63e14452;p=proxmox-backup.git 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 --- diff --git a/tests/pxar.rs b/tests/pxar.rs index e2f0a211..cf162a53 100644 --- a/tests/pxar.rs +++ b/tests/pxar.rs @@ -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())