Change fallback template and test for jobfile 21/8521/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sun, 19 Feb 2017 18:38:52 +0000 (19:38 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sun, 19 Feb 2017 18:39:30 +0000 (19:39 +0100)
Change-Id: I3f5c2a26e1ee8888a9ee840214558f33fe6c4c80
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/common/include-agl-run-test-short.sh

index 0e38272..cfe2515 100644 (file)
@@ -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: