From d5389590117b465e1fef9014f50df63d01598374 Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Wed, 3 Jul 2019 10:42:33 +0200 Subject: [PATCH] Update modules to test. --- tests/modularity_enable_disable_module.pm | 4 ++-- tests/modularity_install_module.pm | 4 ++-- tests/modularity_update_norepo.pm | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/modularity_enable_disable_module.pm b/tests/modularity_enable_disable_module.pm index 6794d51a..46e9f7b7 100644 --- a/tests/modularity_enable_disable_module.pm +++ b/tests/modularity_enable_disable_module.pm @@ -12,10 +12,10 @@ sub run { download_modularity_tests(); # Check that modularity works and that a particular module is available in the system. - assert_script_run('/root/test.py -m dwm -s 6.0 -a list'); + assert_script_run('/root/test.py -m dwm -s 6.1 -a list'); # Check that module can be enabled and disabled. - assert_script_run('/root/test.py -m dwm -s 6.0 -a enable,disable -f hard'); + assert_script_run('/root/test.py -m dwm -s 6.1 -a enable,disable -f hard'); } 1; diff --git a/tests/modularity_install_module.pm b/tests/modularity_install_module.pm index b159be1a..6b71511c 100644 --- a/tests/modularity_install_module.pm +++ b/tests/modularity_install_module.pm @@ -11,10 +11,10 @@ sub run { download_modularity_tests(); # Check that modularity works and that a particular module is available in the system. - assert_script_run('/root/test.py -m nodejs -s 8 -a list'); + assert_script_run('/root/test.py -m nodejs -s 11 -a list'); # Check that module can be enabled and removed. - assert_script_run('/root/test.py -m nodejs -s 8 -a install,remove -f hard'); + assert_script_run('/root/test.py -m nodejs -s 11 -a install,remove -f hard'); } 1; diff --git a/tests/modularity_update_norepo.pm b/tests/modularity_update_norepo.pm index cb7340a8..0e28c5d2 100644 --- a/tests/modularity_update_norepo.pm +++ b/tests/modularity_update_norepo.pm @@ -14,13 +14,13 @@ sub run { assert_script_run('dnf update -y'); # Enable and install the nodejs module, stream 8. - assert_script_run('/root/test.py -m nodejs -s 8 -a enable,install -f hard'); + assert_script_run('/root/test.py -m nodejs -s 11 -a enable,install -f hard'); # Update the system without modular repos. assert_script_run('dnf update --disablerepo=\*modular -y'); # Check that the same version is listed in the installed modules. - assert_script_run('/root/test.py -m nodejs -s 8 -a checkinstall -f hard'); + assert_script_run('/root/test.py -m nodejs -s 11 -a checkinstall -f hard'); } 1;