From: Julius Gawlas <[email protected]>

Added a call to checkout master branch for both tests subrepos,
this way they will represent latest upstream.

Changes from v1:
 * Also update virt-tests, which is a submodule of the client
   tests submodule

Signed-off-by: Julius Gawlas <[email protected]>
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 contrib/install-autotest-server.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/contrib/install-autotest-server.sh 
b/contrib/install-autotest-server.sh
index 9dd61d4..75b9a7e 100755
--- a/contrib/install-autotest-server.sh
+++ b/contrib/install-autotest-server.sh
@@ -356,9 +356,16 @@ else
     fi
 fi
 
+print_log "INFO" "Initializing and updating tests to the latest master"
 cd $ATHOME
 git submodule init
 git submodule update --recursive
+cd $ATHOME/client/tests
+git checkout master
+cd $ATHOME/client/tests/virt
+git checkout master
+cd $ATHOME/server/tests
+git checkout master
 
 print_log "INFO" "Setting proper permissions for the autotest directory"
 chown -R autotest:autotest $ATHOME
-- 
1.8.1.4

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to