Skip to content

Commit

Permalink
remove pre-requisites from centos machine
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <[email protected]>
  • Loading branch information
romayalon committed Nov 13, 2024
1 parent 561aec8 commit b64e99f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/test/unit_tests/test_rpm_install.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ const os_utils = require('../../util/os_utils');

mocha.describe('rpm install tests', function() {
mocha.it('rpm build & install', async () => {
console.log('installing pre-requisites');

const install_wget = 'dnf install wget';
await exec(install_wget);
console.log('installed wget');

const downlod_boost_system = 'wget https://rpmfind.net/linux/centos-stream/9-stream/AppStream/x86_64/os/Packages/boost-system-1.75.0-8.el9.x86_64.rpm';
await exec(downlod_boost_system);
console.log('downloaded boost system RPM');
const downlod_boost_thread = 'wget https://rpmfind.net/linux/centos-stream/9-stream/AppStream/x86_64/os/Packages/boost-thread-1.75.0-8.el9.x86_64.rpm';
await exec(downlod_boost_thread);
console.log('downloaded boost thread RPM');

const install_boost_system_rpm = 'rpm -i boost-system-1.75.0-8.el9.x86_64.rpm';
await exec(install_boost_system_rpm);
console.log('installed boost system RPM');

const install_boost_thread_rpm = 'rpm -i boost-thread-1.75.0-8.el9.x86_64.rpm';
await exec(install_boost_thread_rpm);
console.log('installed boost thread RPM');
// console.log('installing pre-requisites');

// const install_wget = 'dnf install wget';
// await exec(install_wget);
// console.log('installed wget');

// const downlod_boost_system = 'wget https://rpmfind.net/linux/centos-stream/9-stream/AppStream/x86_64/os/Packages/boost-system-1.75.0-8.el9.x86_64.rpm';
// await exec(downlod_boost_system);
// console.log('downloaded boost system RPM');
// const downlod_boost_thread = 'wget https://rpmfind.net/linux/centos-stream/9-stream/AppStream/x86_64/os/Packages/boost-thread-1.75.0-8.el9.x86_64.rpm';
// await exec(downlod_boost_thread);
// console.log('downloaded boost thread RPM');

// const install_boost_system_rpm = 'rpm -i boost-system-1.75.0-8.el9.x86_64.rpm';
// await exec(install_boost_system_rpm);
// console.log('installed boost system RPM');

// const install_boost_thread_rpm = 'rpm -i boost-thread-1.75.0-8.el9.x86_64.rpm';
// await exec(install_boost_thread_rpm);
// console.log('installed boost thread RPM');

const cd_cwd_command = 'cd ' + process.cwd();
await exec(cd_cwd_command);
Expand Down

0 comments on commit b64e99f

Please sign in to comment.