Unlink in place of appending x
This commit is contained in:
parent
b93ae8e8a2
commit
86f6943b08
|
@ -94,8 +94,8 @@ def get_expected_result(tmux_version,
|
|||
def main(attempts=3):
|
||||
vterm_path = os.path.join(VTERM_TEST_DIR, 'path')
|
||||
socket_path = os.path.abspath('tmux-socket-{0}'.format(attempts))
|
||||
while os.path.exists(socket_path):
|
||||
socket_path = socket_path + 'x'
|
||||
if os.path.exists(socket_path):
|
||||
os.unlink(socket_path)
|
||||
rows = 50
|
||||
cols = 200
|
||||
|
||||
|
|
Loading…
Reference in New Issue