[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] Match $branch against xen-* instead of xen*



In case someone invents a tree `xenblargle'.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 ap-print-url | 2 +-
 cri-common   | 2 +-
 mfi-common   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ap-print-url b/ap-print-url
index 3db2375..c161169 100755
--- a/ap-print-url
+++ b/ap-print-url
@@ -31,7 +31,7 @@ if info_linux_tree "$branch"; then
 fi
 
 case "$branch" in
-xen*)
+xen-*)
         echo $TREE_XEN
        ;;
 qemu-mainline)
diff --git a/cri-common b/cri-common
index ad44546..32d13fd 100644
--- a/cri-common
+++ b/cri-common
@@ -62,7 +62,7 @@ repo_tree_rev_fetch_git () {
 
 select_xenbranch () {
        case "$branch" in
-       xen*)                   tree=xen;       xenbranch=$branch ;;
+       xen-*)                  tree=xen;       xenbranch=$branch ;;
        qemu-mainline)          tree=qemuu;     xenbranch=xen-unstable  
qemuubranch=qemu-mainline;;
         qemu-upstream-*)    tree=qemuu; 
xenbranch=xen-${branch#qemu-upstream-};;
        linux)                  tree=linux;     xenbranch=xen-unstable ;;
diff --git a/mfi-common b/mfi-common
index a9e966f..564c3de 100644
--- a/mfi-common
+++ b/mfi-common
@@ -35,7 +35,7 @@ branch_wants_rumpkernel_tests () {
   case "$branch" in
   osstest*) return 0;;
   rump*)    return 0;;
-  xen*)     return 0;;
+  xen-*)    return 0;;
   linux*)   return 0;;
   *)        return 1;;
   esac
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.