forked from josch/mmdebstrap
coverage.sh: account for differently ordered /etc/shells
This commit is contained in:
parent
f101057e1b
commit
c8dbe5bd15
1 changed files with 5 additions and 0 deletions
|
@ -150,6 +150,11 @@ if [ "$dist" != "stable" ]; then
|
||||||
rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/lock-frontend
|
rm /tmp/debian-$dist-debootstrap/var/lib/dpkg/lock-frontend
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# the list of shells might be sorted wrongly
|
||||||
|
for f in "/tmp/debian-$dist-debootstrap/etc/shells" "/tmp/debian-$dist-mm/etc/shells"; do
|
||||||
|
sort -o "\$f" "\$f"
|
||||||
|
done
|
||||||
|
|
||||||
# check if the file content differs
|
# check if the file content differs
|
||||||
diff --no-dereference --brief --recursive /tmp/debian-$dist-debootstrap /tmp/debian-$dist-mm
|
diff --no-dereference --brief --recursive /tmp/debian-$dist-debootstrap /tmp/debian-$dist-mm
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue