Browse Source

Fix typos in cover.sh

TrivialFix

Change-Id: I0c4985a799c551ab54f4730c51a54ac53be4545c
zhangyanxian 2 years ago
parent
commit
d2ed9d7084
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      tools/cover.sh

+ 5
- 5
tools/cover.sh View File

@@ -22,9 +22,9 @@ show_diff () {
22 22
     diff -U 0 $1 $2 | sed 1,2d
23 23
 }
24 24
 
25
-# Stash uncommited changes, checkout master and save coverage report
26
-uncommited=$(git status --porcelain | grep -v "^??")
27
-[[ -n $uncommited ]] && git stash > /dev/null
25
+# Stash uncommitted changes, checkout master and save coverage report
26
+uncommitted=$(git status --porcelain | grep -v "^??")
27
+[[ -n $uncommitted ]] && git stash > /dev/null
28 28
 git checkout HEAD^
29 29
 
30 30
 baseline_report=$(mktemp -t murano_coverageXXXXXXX)
@@ -32,9 +32,9 @@ find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr
32 32
 coverage report > $baseline_report
33 33
 baseline_missing=$(awk 'END { print $3 }' $baseline_report)
34 34
 
35
-# Checkout back and unstash uncommited changes (if any)
35
+# Checkout back and unstash uncommitted changes (if any)
36 36
 git checkout -
37
-[[ -n $uncommited ]] && git stash pop > /dev/null
37
+[[ -n $uncommitted ]] && git stash pop > /dev/null
38 38
 
39 39
 # Generate and save coverage report
40 40
 current_report=$(mktemp -t murano_coverageXXXXXXX)

Loading…
Cancel
Save