tests: hide git output when checking local checkout
This commit is contained in:
parent
534de9bc1c
commit
3f5fb0de9e
@ -105,7 +105,8 @@ else:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
in_git = subprocess.check_output(
|
in_git = subprocess.check_output(
|
||||||
['git', 'rev-parse', '--show-toplevel']).decode().strip()
|
['git', 'rev-parse', '--show-toplevel'], stderr=subprocess.DEVNULL
|
||||||
|
).decode().strip()
|
||||||
qubes.log.LOGPATH = '/tmp'
|
qubes.log.LOGPATH = '/tmp'
|
||||||
qubes.log.LOGFILE = '/tmp/qubes.log'
|
qubes.log.LOGFILE = '/tmp/qubes.log'
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
|
Loading…
Reference in New Issue
Block a user