mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Update modules to test.
This commit is contained in:
parent
dcc8fb9370
commit
d538959011
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user