1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Update modules to test.

This commit is contained in:
Lukas Ruzicka 2019-07-03 10:42:33 +02:00
parent dcc8fb9370
commit d538959011
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;