forked from josch/mmdebstrap
tests/check-against-debootstrap-dist: since iputils-ping 20240905 there are no extended attributes anymore
This commit is contained in:
parent
c82fc7e261
commit
5055b1b44c
1 changed files with 17 additions and 13 deletions
|
@ -109,6 +109,7 @@ if [ "{{ VARIANT }}" = "-" ]; then
|
|||
rm /tmp/debian-{{ DIST }}-debootstrap/var/lib/systemd/catalog/database
|
||||
rm /tmp/debian-{{ DIST }}-mm/var/lib/systemd/catalog/database
|
||||
|
||||
case {{ DIST }} in oldstable | stable | testing)
|
||||
cap=$(chroot /tmp/debian-{{ DIST }}-debootstrap /sbin/getcap /bin/ping)
|
||||
expected="/bin/ping cap_net_raw=ep"
|
||||
if [ "$cap" != "$expected" ]; then
|
||||
|
@ -122,7 +123,10 @@ if [ "{{ VARIANT }}" = "-" ]; then
|
|||
echo "but mmdebstrap produced: $cap" >&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
rm /tmp/debian-{{ DIST }}-mm/var/cache/apt/archives/lock
|
||||
rm /tmp/debian-{{ DIST }}-mm/var/lib/apt/extended_states
|
||||
rm /tmp/debian-{{ DIST }}-mm/var/lib/apt/lists/lock
|
||||
|
|
Loading…
Reference in a new issue