forked from josch/mmdebstrap
add commented out stub for using fmtree to compare directories
This commit is contained in:
parent
69ee374719
commit
bdf878894f
1 changed files with 5 additions and 0 deletions
5
test.sh
5
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
|
||||
|
|
Loading…
Reference in a new issue