Opened 7 months ago

Closed 7 months ago

#32972 closed defect (fixed)

Chutney doesn't remove temporary files after processing warnings

Reported by: opara Owned by:
Priority: Low Milestone:
Component: Core Tor/Chutney Version:
Severity: Trivial Keywords:
Cc: teor Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (3)

comment:1 Changed 7 months ago by teor

Sounds like a good fix!

Would you like to submit a pull request to:
https://github.com/torproject/chutney

comment:3 Changed 7 months ago by teor

Resolution: fixed
Status: newclosed

Thanks!

If you put tickets in needs_review when you submit a pull request, we'll be able to find them more easily.

Merged #32972, #33023, #32969, and #33041 together.

Note: See TracTickets for help on using tickets.