This is to be expanded by the shell, using eval, so that it can refer
to $xenarch, $suite and $blessing.
No functional change if this variable is unset, or empty. If it is
set to a single space, cri-getplatforms produces no output (as it does
anyway in standalone mode).
Signed-off-by: Ian Jackson <iwj@xenproject.org>
getplatforms () {
local xenarch=$1
local suite=$2
+ if [ "x$MF_SIMULATE_PLATFORMS" != x ]; then
+ eval "echo $MF_SIMULATE_PLATFORMS"
+ return
+ fi
perl -e '
use Osstest;
csreadconfig();