#!/bin/sh
set -eu

# this test is not executed any more. It MUST fail.
# Rationale: We are running with auto selection, but the tests
# with explicitly set legacy toolsuffix. Hence, when rebooting,
# the rules get established in nft while the test wants to remove
# and reestablish them as legacy. This doesn't work. And that's a feature.
# (Same root cause as ferm-systemd-reboot-exp-xt -- this is a boot-sequencing
# issue independent of CACHE=yes, so it applies here too. Deliberately not
# listed in debian/tests/control.)
update-alternatives --auto iptables
update-alternatives --auto ip6tables
TOOLSUFFIX=-legacy exec "$(dirname "$0")/ferm-systemd-cache-reboot"
