]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge branch 'ticket29435_035' into ticket29435_040
authorNick Mathewson <nickm@torproject.org>
Fri, 8 Feb 2019 15:47:04 +0000 (10:47 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 8 Feb 2019 15:47:04 +0000 (10:47 -0500)
1  2 
scripts/test/coverage

index 7a417cdc89829868388d63f0c2e4719b02fe6b3f,b6e17abe25ac19bceeb66b870d812820fa824eb3..f61c83bc72eaf87626f57053ea8066a3ba33b5ed
@@@ -8,13 -8,13 +8,13 @@@
  dst=$1
  
  for fn in src/core/*/*.c src/feature/*/*.c src/app/*/*.c src/lib/*/*.c; do
 -    BN=`basename $fn`
 -    DN=`dirname $fn`
 -    F=`echo $BN | sed -e 's/\.c$//;'`
 +    BN=$(basename "$fn")
 +    DN=$(dirname "$fn")
 +    F=$(echo "$BN" | sed -e 's/\.c$//;')
      GC="${BN}.gcov"
      # Figure out the object file names
-     ONS=$(echo "${DN}"/src_*-"${F}".o)
-     ONS_WILDCARD_LITERAL="${DN}/src_*-${F}.o"
+     ONS=$(echo "${DN}"/*testing_a-"${F}".o)
+     ONS_WILDCARD_LITERAL="${DN}/*testing_a-${F}.o"
      # If the wildcard didn't expand, no files
      if [ "$ONS" != "${ONS_WILDCARD_LITERAL}" ]
      then