tests: cleanup legacy temp path (#19716)

This commit is contained in:
Turiiya 2023-10-31 14:16:19 +01:00 committed by GitHub
parent 3708061d61
commit e465f7490c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 69 additions and 65 deletions

View file

@ -1,9 +1,10 @@
import os
import net.unix
const tfolder = os.join_path(os.vtmp_dir(), 'v', 'unix_test')
const test_port = os.join_path(tfolder, 'unix_domain_socket')
const (
tfolder = os.join_path(os.vtmp_dir(), 'unix_test')
test_port = os.join_path(tfolder, 'unix_domain_socket')
)
fn testsuite_begin() {
os.mkdir_all(tfolder) or {}