A library providing an ACN (Anonymous Communication Network) abstraction and a tor (for now) implementation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
262B

  1. #!/bin/bash
  2. set -e
  3. pwd
  4. GORACE="haltonerror=1"
  5. go test -race ${1} -coverprofile=tor.cover.out -v ./tor
  6. echo "mode: set" > coverage.out && cat *.cover.out | grep -v mode: | sort -r | \
  7. awk '{if($1 != last) {print $0;last=$1}}' >> coverage.out
  8. rm -rf *.cover.out