From 4204e53560da61cdd53991f3804352cf63e14452 Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Tue, 16 Jul 2019 13:19:51 +0200 Subject: [PATCH] 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 --- tests/pxar.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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())