tests fixes
This commit is contained in:
parent
5bef28cfbb
commit
fbb7e6d29a
@ -53,7 +53,7 @@ describe('Extension tests', () => {
|
|||||||
expect(linux).toContain('phalcon.sh 4.0.x 7.4');
|
expect(linux).toContain('phalcon.sh 4.0.x 7.4');
|
||||||
|
|
||||||
linux = await extensions.addExtension('gearman', '7.3', 'linux');
|
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');
|
linux = await extensions.addExtension('xdebug', '7.2', 'fedora');
|
||||||
expect(linux).toContain('Platform fedora is not supported');
|
expect(linux).toContain('Platform fedora is not supported');
|
||||||
|
|||||||
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -2216,7 +2216,7 @@ function addExtensionLinux(extension_csv, version) {
|
|||||||
install_command =
|
install_command =
|
||||||
'sh ' +
|
'sh ' +
|
||||||
path.join(__dirname, '../src/scripts/gearman.sh') +
|
path.join(__dirname, '../src/scripts/gearman.sh') +
|
||||||
' gearman-2.0.6' +
|
' gearman-2.0.6 ' +
|
||||||
version +
|
version +
|
||||||
' >/dev/null 2>&1';
|
' >/dev/null 2>&1';
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -114,7 +114,7 @@ export async function addExtensionLinux(
|
|||||||
install_command =
|
install_command =
|
||||||
'sh ' +
|
'sh ' +
|
||||||
path.join(__dirname, '../src/scripts/gearman.sh') +
|
path.join(__dirname, '../src/scripts/gearman.sh') +
|
||||||
' gearman-2.0.6' +
|
' gearman-2.0.6 ' +
|
||||||
version +
|
version +
|
||||||
' >/dev/null 2>&1';
|
' >/dev/null 2>&1';
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user