How to add an exception using covselect?

Examples that I could find include the following for exclusion:

covselect --add \!/usr/src/thing/to/exclude 

However, when I do this and list my inclusions, I get:

 BullseyeCoverage Select Regions 8.8.9 Linux-x64 License 9395 Copyright (c) Bullseye Testing Technology 1990-2013 include folder /usr/src/ include folder /!/usr/src/thing/to/exclude/ 

?

+6
source share
1 answer

It turns out that escaping an exclamation mark is only necessary for bash interactive shells. When I put this in a script, the escape became literal, and covselect gave \ as a path separator, which was then converted to / . Deleting ! escaping in a script, it works fine.

+4
source

All Articles