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');
|
||||
|
||||
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
2
dist/index.js
vendored
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user