tests/as-debootstrap-unshare-wrapper: run diff with -u

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-01-16 08:12:48 +01:00
parent a57eba1dbc
commit 946ef132e2
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -69,7 +69,7 @@ if [ -e /tmp/debian-debootstrap/etc/apparmor.d/local/sbin.dhclient ] && [ ! -s /
fi
# check if the file content differs
diff --no-dereference --recursive /tmp/debian-debootstrap /tmp/debian-mm >&2
diff --unified --no-dereference --recursive /tmp/debian-debootstrap /tmp/debian-mm >&2
# check permissions, ownership, symlink targets, modification times using tar
# mtimes of directories created by mmdebstrap will differ, thus we equalize them first