dharple / detox

Tames problematic filenames
BSD 3-Clause "New" or "Revised" License
332 stars 19 forks source link

Update regression tests to ignore system files #28

Closed dharple closed 3 years ago

dharple commented 3 years ago

When a copy of detox is installed on the system (from an OS package or manually), it interferes with the regression tests, because detox will pick up on the translation tables or system config file and change the behavior being tested.

dharple commented 3 years ago

I refactored detox.c's main(). So far I've only broken out three functions, but one of them, sequence_review() will solve this issue once I've refactored it a second time.