Just stumbled on this while troubleshooting unrelated issue.
Examples:
tests: workaround time desynchronization issues on Whonix · QubesOS/qubes-app-linux-split-gpg@ead80b1 · GitHub
tests: exclude Whonix Gateway · QubesOS/qubes-app-linux-split-gpg@1a22a2f · GitHub
These assume that Whonix templates are named whonix-gw
and whonix-ws
. In fact, my Whonix templates have always had custom names. Isn’t it a bad idea to hardcode template names? Would be better to use existing Whonix identification system, ie /usr/share/anon-<gw|ws>-base-files