From bdf878894f35486d07cff7b8c962b000ee2e4457 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 22 Oct 2018 16:58:27 +0200 Subject: [PATCH] add commented out stub for using fmtree to compare directories --- test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.sh b/test.sh index 6551ed9..83f373d 100755 --- a/test.sh +++ b/test.sh @@ -153,6 +153,11 @@ for dist in stable testing unstable; do # check if the file content differs sudo diff --no-dereference --brief --recursive debian-$dist-debootstrap debian-$dist-mm + # check if file properties (permissions, ownership, symlink names, modification time) differ + # + # we cannot use this (yet) because it cannot copy with paths that have [ or @ in them + #sudo fmtree -c -p ./debian-$dist-debootstrap -k flags,gid,link,mode,size,time,uid | sudo fmtree -p ./debian-$dist-mm + sudo rm -rf ./debian-$dist-debootstrap ./debian-$dist-mm \ ./debian-$dist-mm.tar if [ "$docache" != "true" ]; then