 +        exit 1
 +    fi
 +    coveragefunc $testname
++    real_uploadfunc $testname
++    echo "Done!"
++}
++
++real_uploadfunc(){
++    local testname=$1
++
 +    if [ -z $VIRTCOV_NAME ]; then
 +        echo -e "Your name: \c"
 +        read answer

+    fi
+    echo "Upload coverage info"
+    curl --form "coveragefile=@/tmp/coverage.info" --form name="$testname" --form user_name="$VIRTCOV_NAME" --form version="$VIRTCOV_VERSION" $VIRTCOV_SERVER
+    echo "Done!"
+}
+
+cleanfunc(){

From ba01eb6f97fb79d2a4f7847f450061d189e4ba85 Mon Sep 17 00:00:00 2001
From: Luyao Huang <lhuang@redhat.com>
Date: Thu, 17 Nov 2016 14:27:59 +0800
Subject: [PATCH] Virtcov for v0.10.2~
