diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-02-19 19:38:52 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-02-19 19:39:30 +0100 |
commit | 1184f3dced890482ced06adb8f5c236f69482b56 (patch) | |
tree | b88db2a2e0d34218884701c103bdc443b2bbeaf9 | |
parent | d9f01355c3e23d22f35a4a4a11a31f208cce8140 (diff) |
Change fallback template and test for jobfile
Change-Id: I3f5c2a26e1ee8888a9ee840214558f33fe6c4c80
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r-- | jjb/common/include-agl-run-test-short.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 0e382727..cfe25156 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -27,10 +27,11 @@ rm ~/.local/token echo "## $TESTJOBFILE ##" -if [ -n $TESTJOBFILE -a -e $TESTJOBFILE ] ; then - cp $TESTJOBFILE testjob.yaml +if [ -e $TESTJOBFILE ] ; then + echo "Using $TESTJOBFILE ..." + cp $TESTJOBFILE testjob.yaml else -echo "!! NO TESTJOBFILE - trying to continue with a default !!" + echo "!! NO TESTJOBFILE - trying to continue with a default !!" fi cat <<EOF > testjob.yaml @@ -62,7 +63,7 @@ actions: url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@' kernel: url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@' - initramfs: + initrd: url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@' allow_modify: false nbdroot: |