tests: Avoid the download template when possible
tests: Avoid the download template when possible

The use of the download template with an hardcoded --arch=amd64 in aa.c
was causing test failures on any platform incapable of running amd64
binaries.

This wasn't noticed in the CI environment as we run the tests within
containers on an amd64 kernel but this caused failures on the Ubuntu CI
environment.

Instead, let's use the busybox template, tweaking the configuration when
needed to match the needs of the testcase.

Signed-off-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>
Acked-by: Serge E. Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

szaszg/lxc,virajs/lxc,major/lxc,weizhenwei/lxc,GreatFruitOmsk/lxc,ioops/lxc,JohnPeacockMessageSystems/lxc,LynxChaus/lxc,federicobriata/lxc,christiaan/lxc,bostjan/lxc,lazy404/lxc,rldleblanc/lxc,JohnPeacockMessageSystems/lxc,ecarrara/lxc,virajs/lxc,jirislaby/lxc,hfuCN/lxc,Ponce/lxc,akshaykarle/lxc,yubo/lxc,christiaan/lxc,GreatFruitOmsk/lxc,efiop/lxc,jirislaby/lxc,hkjolhede/lxc,lisongmin/lxc,jirislaby/lxc,ksperis/lxc,Distrotech/lxc,efiop/lxc,rowhit/lxc,szaszg/lxc,hkjolhede/lxc,tych0/lxc,major/lxc,szaszg/lxc,akshaykarle/lxc,tych0/lxc,codebauss/lxc,yubo/lxc,bostjan/lxc,weizhenwei/lxc,lazy404/lxc,hallyn/lxc,Pelagicore/lxc,hallyn/lxc,Pelagicore/lxc,bmoar/lxc,armcc/lxc,terceiro/lxc,codebauss/lxc,ss1h2a3tw/lxc,cjwatson/lxc,sapun/lxc,thmo/lxc,federicobriata/lxc,raspberrypython/lxc,hfuCN/lxc,codebauss/lxc,regit/lxc,QingweiPeterLan/cs188-lxc,tych0/lxc,ioops/lxc,bostjan/lxc,DarknessBeforeDawn/lxc,lisongmin/lxc,yubo/lxc,terceiro/lxc,weizhenwei/lxc,lazy404/lxc,hkjolhede/lxc,Ponce/lxc,raspberrypython/lxc,caglar10ur/lxc,fwilson42/lxc,Ponce/lxc,cjwatson/lxc,sapun/lxc,ysbnim/lxc,fwilson42/lxc,terceiro/lxc,lisongmin/lxc,DarknessBeforeDawn/lxc,thmo/lxc,cjwatson/lxc,DarknessBeforeDawn/lxc,Distrotech/lxc,rowhit/lxc,major/lxc,ioops/lxc,ss1h2a3tw/lxc,thmo/lxc,ss1h2a3tw/lxc,regit/lxc,caglar10ur/lxc,Pelagicore/lxc,ysbnim/lxc,armcc/lxc,ksperis/lxc,fwilson42/lxc,aeris/lxc,bmoar/lxc,LynxChaus/lxc,JohnPeacockMessageSystems/lxc,ksperis/lxc,raspberrypython/lxc,hfuCN/lxc,regit/lxc,rldleblanc/lxc,virajs/lxc,ecarrara/lxc,christiaan/lxc,QingweiPeterLan/cs188-lxc,bmoar/lxc,GreatFruitOmsk/lxc,rldleblanc/lxc,efiop/lxc,caglar10ur/lxc,hallyn/lxc,federicobriata/lxc,akshaykarle/lxc,armcc/lxc,aeris/lxc,aeris/lxc,Distrotech/lxc,ysbnim/lxc,ecarrara/lxc,rowhit/lxc,LynxChaus/lxc,sapun/lxc,QingweiPeterLan/cs188-lxc