tests fixes

This commit is contained in:
hotrush 2019-12-12 14:56:39 +03:00
parent 5bef28cfbb
commit fbb7e6d29a
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ describe('Extension tests', () => {
expect(linux).toContain('phalcon.sh 4.0.x 7.4');
linux = await extensions.addExtension('gearman', '7.3', 'linux');
expect(linux).toContain('gearman.sh gearman2.0.6 7.3');
expect(linux).toContain('gearman.sh gearman-2.0.6 7.3');
linux = await extensions.addExtension('xdebug', '7.2', 'fedora');
expect(linux).toContain('Platform fedora is not supported');

2
dist/index.js vendored
View File

@ -2216,7 +2216,7 @@ function addExtensionLinux(extension_csv, version) {
install_command =
'sh ' +
path.join(__dirname, '../src/scripts/gearman.sh') +
' gearman-2.0.6' +
' gearman-2.0.6 ' +
version +
' >/dev/null 2>&1';
break;

View File

@ -114,7 +114,7 @@ export async function addExtensionLinux(
install_command =
'sh ' +
path.join(__dirname, '../src/scripts/gearman.sh') +
' gearman-2.0.6' +
' gearman-2.0.6 ' +
version +
' >/dev/null 2>&1';
break;