autopkgtest: when checking binary pkg arch, allow *-$ARCH-* values also

The list of possible valid arch strings, provided by: $ dpkg-architecture -L

can include plain archs like 'amd64' or 'any', but also can contain 'linux-any' or other dash-separated values. So to match those as well from the awk script, include - as a possible value delimiter, so arch values are separated by either , or -.

The correct way to check the arch would be to call out to dpkg-architecture from the awk script, which probably is possible using awk system() but would have to also check for 'all'. However this entire awk script is difficult to understand and maintain; I prefer this minor patch for this regression, and then looking at complete replacement using something else.

Merge request reports

Loading