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 <i...@xenproject.org> --- cri-getplatforms | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cri-getplatforms b/cri-getplatforms index 1f206908..9f4cae56 100755 --- a/cri-getplatforms +++ b/cri-getplatforms @@ -19,6 +19,10 @@ 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(); -- 2.20.1