Opened 5 months ago

Last modified 4 months ago

#29701 new enhancement

Load GeoIP[v6]File from the build directory when testing a tor build in chutney

Reported by: teor Owned by:
Priority: Medium Milestone:
Component: Core Tor/Chutney Version:
Severity: Normal Keywords: tor-geoip, tor-test, technical-debt
Cc: teor Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description

We should test that our build's GeoIP[v6]Files parse by loading them in chutney networks.

Currently, chutney loads the files from /usr, which is good if the running tor is in /usr, but useless for builds.

Here's one way to make this work:

  1. Set an environmental variable and test-network.sh argument for each GeoIP[v6]File
  2. Substitute those env vars into chutney's torrc_templates/common.i

Child Tickets

Change History (1)

comment:1 Changed 4 months ago by teor

Like #29702, we should also explicitly specify an empty --defaults-torrc file.

Note: See TracTickets for help on using tickets.