mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Don't move gcov output to root directory
In scripts/test/coverage, avoid attempting to move gcov output files to the root directory when given no arguments. Fixes bug 23741.
This commit is contained in:
parent
dddae36f5e
commit
e31ffb2741
4
changes/bug23741
Normal file
4
changes/bug23741
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes (testing):
|
||||||
|
- Prevent scripts/test/coverage from attempting to move gcov
|
||||||
|
output to the root directory. Fixes bug 23741; bugfix on
|
||||||
|
0.2.5.1-alpha.
|
@ -29,7 +29,7 @@ for fn in src/or/*.c src/common/*.c; do
|
|||||||
gcov -o $on $fn
|
gcov -o $on $fn
|
||||||
if [ -e $GC ]
|
if [ -e $GC ]
|
||||||
then
|
then
|
||||||
if [ -n $dst ]
|
if [ -d "$dst" ]
|
||||||
then
|
then
|
||||||
mv $GC $dst/$GC
|
mv $GC $dst/$GC
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user