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 ebd0f282fd
commit 4925587b34
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 fi
# check if the file content differs # 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 # check permissions, ownership, symlink targets, modification times using tar
# mtimes of directories created by mmdebstrap will differ, thus we equalize them first # mtimes of directories created by mmdebstrap will differ, thus we equalize them first