Fix tests

This commit is contained in:
Sampark Sharma
2022-11-23 11:40:11 +00:00
committed by GitHub
parent 1f3371766a
commit 187781e273
2 changed files with 22 additions and 9 deletions

View File

@@ -98,7 +98,7 @@ test('zstd extract tar with windows BSDtar', async () => {
tarFilename.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
archivePath.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
'&&',
`"${tarPath}"`,
`${tarPath}`,
'-xf',
tarFilename.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
'-P',
@@ -336,7 +336,7 @@ test('zstd list tar with windows BSDtar', async () => {
tarFilename.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
archivePath.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
'&&',
`"${tarPath}"`,
`${tarPath}`,
'-tf',
tarFilename.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
'-P'