Fix typos
Change-Id: Ia3f514ec2324c1a16bb9619c8be402e78ec982b8
This commit is contained in:
parent
4a335ac674
commit
bfcc6e5a3a
@ -24,9 +24,9 @@ show_diff () {
|
||||
diff -U 0 $1 $2 | sed 1,2d
|
||||
}
|
||||
|
||||
# Stash uncommited changes, checkout master and save coverage report
|
||||
uncommited=$(git status --porcelain | grep -v "^??")
|
||||
[[ -n $uncommited ]] && git stash > /dev/null
|
||||
# Stash uncommitted changes, checkout master and save coverage report
|
||||
uncommitted=$(git status --porcelain | grep -v "^??")
|
||||
[[ -n $uncommitted ]] && git stash > /dev/null
|
||||
git checkout HEAD^
|
||||
|
||||
baseline_report=$(mktemp -t murano_dashboard_coverageXXXXXXX)
|
||||
@ -38,9 +38,9 @@ python manage.py test muranodashboard \
|
||||
coverage report > $baseline_report
|
||||
baseline_missing=$(awk 'END { print $3 }' $baseline_report)
|
||||
|
||||
# Checkout back and unstash uncommited changes (if any)
|
||||
# Checkout back and unstash uncommitted changes (if any)
|
||||
git checkout -
|
||||
[[ -n $uncommited ]] && git stash pop > /dev/null
|
||||
[[ -n $uncommitted ]] && git stash pop > /dev/null
|
||||
|
||||
# Generate and save coverage report
|
||||
current_report=$(mktemp -t murano_dashboard_coverageXXXXXXX)
|
||||
@ -87,4 +87,4 @@ fi
|
||||
|
||||
rm $baseline_report $current_report
|
||||
set +x
|
||||
exit $exit_code
|
||||
exit $exit_code
|
||||
|
Loading…
x
Reference in New Issue
Block a user