From: Ian Jackson Date: Mon, 3 Feb 2025 23:40:10 +0000 (+0000) Subject: autopkgtest: setup-host unwanted deps: handle | properly X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=99e025e0ceaa63e9fe23b891339e92bd81501741;p=hippotat.git autopkgtest: setup-host unwanted deps: handle | properly Signed-off-by: Ian Jackson --- diff --git a/adt/acommon b/adt/acommon index 6541b14..83e2272 100644 --- a/adt/acommon +++ b/adt/acommon @@ -153,7 +153,7 @@ setup-host () { next unless m{^Depends:}...m{^\S}; s{^Depends:}{ }; next if m{^\S}; - print $_, "\n" foreach split m{[\s,]+}; + print $_, "\n" foreach split m{[\s,\|]+}; ' debian/tests/control |sort >$tmp/$cs-unwanted-deps local unwanted_deps=$(perl -ne ' next if m{^(?:userv-utils|libnetaddr-ip-perl|net-tools)$};