[tor-bugs] #32972 [Core Tor/Chutney]: Chutney doesn't remove temporary files after processing warnings

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 16 02:27:38 UTC 2020


#32972: Chutney doesn't remove temporary files after processing warnings
--------------------+----------------------------------
 Reporter:  opara   |          Owner:  (none)
     Type:  defect  |         Status:  new
 Priority:  Low     |      Component:  Core Tor/Chutney
  Version:          |       Severity:  Trivial
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
 Reviewer:          |        Sponsor:
--------------------+----------------------------------
 When the Chutney test-network script ends, it displays warnings from the
 tor logs. It summarizes/filters them in the {{{show_warnings()}}} function
 in {{{tools/warnings.sh}}}. This function creates two files with
 {{{LOGS=$(mktemp)}}} and {{{FILTERED_LOGS=$(mktemp)}}} but never deletes
 them when it's done.

 The proposal is to add {{{rm "${LOGS}" "${FILTERED_LOGS}"}}} at the end of
 the function.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32972>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list