Comments shouldn't be evaluated in Shell Scripts
long-term
S
Sienna Ocelot
If you have a Harness Expression in a Shell Script that's been commented out, Harness will still try and evaluate it which can cause unexpected failures. We'd like for the comments to not evaluate any expressions.
Log In
B
Blue Lobster
As code commenting to ignore execution, try, test is standard software engineering approach I am surprised this has to be raised as a feature to gain Up Votes :(
Shylaja Sundararajan
long-term
Shylaja Sundararajan
Hi Rajesh,
At present , we would request you to remove the Harness expressions . There is no support at this point to understand the source of the expression and accordingly ignore the same . This would be taken as an enhancement
Regards
Shylaja
Sudarshan Purohit
under review