sayak-m / shcov

Automatically exported from code.google.com/p/shcov
GNU General Public License v2.0
0 stars 0 forks source link

Not able to generate .pkl file for child shell #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I have a shell script myscript1.sh which inturn invokes myscript2.sh .
2.When I am invoking myscript2.sh from myscript1.sh as ./myscript2.sh , shcov 
is able to generate .pkl file only for myscript1.sh and not for myscript2.sh 
3.

What is the expected output? What do you see instead?
I have a shell script myscript1.sh .This inturn invokes another shell script 
myscript2.sh. When I am invoking child script with syntax as . ./myscript2.sh 
.pkl files are created for both parent and child scripts i.e., for myscript1.sh 
and myscript2.sh . But when I am invoking child script as ./myscript2.sh .pkl 
file is created for only parent child and not for child shell script.

What version of the product are you using? On what operating system?
I am using shunit2.1.6 on solarisis 

Please provide any additional information below.

Original issue reported on code.google.com by jaajik...@gmail.com on 10 Mar 2014 at 10:46

GoogleCodeExporter commented 8 years ago
I've implemented bash coverage support for kcov,

  http://simonkagstrom.github.io/kcov/

and I'm therefore deprecating shcov. I don't think this particular bug should 
be present in the kcov implementation. Setting to WontFix.

Original comment by simon.ka...@gmail.com on 30 Jun 2014 at 7:16