improve tests symlink's name

This commit is contained in:
ms 2021-07-09 13:15:50 +02:00
parent 655c5fc18a
commit a3d22f7313
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -148,7 +148,10 @@ export interface TestInfo {
}
function updateCurrentSymlink(testDir: string): void {
const currLink = path.join(os.tmpdir(), "taler-integrationtests-current");
const currLink = path.join(
os.tmpdir(),
`taler-integrationtests-${os.userInfo().username}-current`
);
try {
fs.unlinkSync(currLink);
} catch (e) {