summaryrefslogtreecommitdiffstats
path: root/test/sreset_world/run_mambo_sreset.sh
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-12-13 19:38:33 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-12-20 08:54:07 +1100
commit1ddf7e51936f82a5ba8b6145962fbc278d591cde (patch)
tree7d4f1c369f80b72395a7d23f9b647905761bacb6 /test/sreset_world/run_mambo_sreset.sh
parent6e05c6f21b34f9c4f6597ace36dfca9624c7923c (diff)
downloadblackbird-skiboot-1ddf7e51936f82a5ba8b6145962fbc278d591cde.tar.gz
blackbird-skiboot-1ddf7e51936f82a5ba8b6145962fbc278d591cde.zip
Mambo: run hello_world and sreset_world tests with Secure and Trusted Boot
We *disable* the secure boot part, but we keep the verified boot part as we don't currently have container verification code for Mambo. We can run a small part of the code currently though. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test/sreset_world/run_mambo_sreset.sh')
-rwxr-xr-xtest/sreset_world/run_mambo_sreset.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/sreset_world/run_mambo_sreset.sh b/test/sreset_world/run_mambo_sreset.sh
index 281c466c..10c7224d 100755
--- a/test/sreset_world/run_mambo_sreset.sh
+++ b/test/sreset_world/run_mambo_sreset.sh
@@ -24,8 +24,11 @@ if [ ! `command -v expect` ]; then
exit 0;
fi
-
-export SKIBOOT_ZIMAGE=`pwd`/test/sreset_world/sreset_kernel/sreset_kernel
+if [ -n "$SKIBOOT_ENABLE_MAMBO_STB" ]; then
+ export SKIBOOT_ZIMAGE=`pwd`/test/sreset_world/sreset_kernel/sreset_kernel.stb
+else
+ export SKIBOOT_ZIMAGE=`pwd`/test/sreset_world/sreset_kernel/sreset_kernel
+fi
# Currently getting some core dumps from mambo, so disable them!
OLD_ULIMIT_C=`ulimit -c`
OpenPOWER on IntegriCloud