Skip to content

Commit

Permalink
Create test logfile under tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikratio committed Oct 15, 2018
1 parent 421256b commit 9e1f004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def pytest_configure(config):
os.environ['S3QL_ENABLE_WARNINGS'] = '1'

# Enable faulthandler
faultlog_fd = os.open(os.path.join(basedir, 'test_crit.log'),
faultlog_fd = os.open(os.path.join(basedir, 'tests', 'test_crit.log'),
flags=os.O_APPEND|os.O_CREAT|os.O_WRONLY, mode=0o644)
faulthandler.enable(faultlog_fd)
faulthandler.register(signal.SIGUSR1, file=faultlog_fd)
Expand Down

0 comments on commit 9e1f004

Please sign in to comment.