Skip to content

Commit 8faa924

Browse files
committed
test scripts
Signed-off-by: Joseph Mattiello <[email protected]>
1 parent 1314cba commit 8faa924

5 files changed

Lines changed: 2239 additions & 0 deletions

File tree

test/test_cd_boot.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ static bool environment(unsigned cmd, void *data)
153153
var->value = (env && strcmp(env, "dev") == 0) ? "dev" : "retail";
154154
return true;
155155
}
156+
if (var->key && strcmp(var->key, "virtualjaguar_cd_boot_mode") == 0)
157+
{
158+
const char *env = getenv("VJ_CD_BOOT_MODE");
159+
var->value = (env ? env : "auto");
160+
return true;
161+
}
156162
var->value = NULL;
157163
return false;
158164
}

0 commit comments

Comments
 (0)