os-autoinst-distri-rocky-mi.../tests
Adam Williamson aa20bab713 use assert_script_run when possible
Summary:
D637 / ec6b3ff4 switched from using needle matches to using
validate_script_output when we want to run a console command
and check the result. validate_script_output is kinda over-
powered when all you want to do is check the command succeeded
(returned 0), though. testapi provides assert_script_run for
doing exactly that - it runs a script and fails if the script
fails (returns anything but 0). This gives us cleaner code and
is slightly more robust; validate_script_output uses the mini
web server on the worker, which I've occasionally seen crap
out, so it seems good to avoid using it when possible. assert_
script_run doesn't need it.

Test Plan: Check all (affected) tests still work properly.

Reviewers: jskladan, garretraziel

Reviewed By: jskladan, garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D714
2016-01-12 09:27:14 -08:00
..
_boot_to_anaconda.pm Adds uefi support to tests where it makes sense 2015-09-15 11:04:01 +02:00
_console_wait_login.pm Login as user in console every time 2015-11-04 10:10:04 +01:00
_do_install_and_reboot.pm longer install timeout for Rawhide 2015-11-11 08:48:46 -08:00
_graphical_wait_login.pm add comments and documentation 2015-08-05 08:23:59 +02:00
_software_selection.pm add comments and documentation 2015-08-05 08:23:59 +02:00
base_selinux.pm add a base_selinux test (follow-on from default_install) 2015-12-17 12:46:14 -08:00
base_service_manipulation.pm add base_service_manipulation test 2016-01-11 12:30:24 -08:00
base_services_start.pm add a base_services_start test 2016-01-08 09:01:33 -08:00
disk_custom_btrfs.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_ext3.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_lvmthin.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_no_swap.pm small fix: wait a sec between clicks of 'Done' in no_swap 2015-08-31 17:02:27 -07:00
disk_custom_software_raid_postinstall.pm use validate_script_output instead of typing and needles matching 2015-11-04 14:38:36 +01:00
disk_custom_software_raid.pm add ext3, btrfs and LVM thin tests, tweaks to custom methods 2015-08-10 11:01:12 -07:00
disk_custom_xfs.pm add custom partitioning xfs tests 2015-11-26 13:50:45 +01:00
disk_guided_delete_all.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_delete_partial_postinstall.pm use assert_script_run when possible 2016-01-12 09:27:14 -08:00
disk_guided_delete_partial.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_empty.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_encrypted_postinstall.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_encrypted.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_free_space_postinstall.pm use assert_script_run when possible 2016-01-12 09:27:14 -08:00
disk_guided_multi_empty_all_postinstall.pm use validate_script_output instead of typing and needles matching 2015-11-04 14:38:36 +01:00
disk_guided_multi_empty_all.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_multi_postinstall.pm use assert_script_run when possible 2016-01-12 09:27:14 -08:00
disk_guided_multi.pm add comments and documentation 2015-08-05 08:23:59 +02:00
disk_guided_shrink_postinstall.pm use assert_script_run when possible 2016-01-12 09:27:14 -08:00
disk_guided_shrink.pm add guided shrink test 2015-09-08 15:54:22 +02:00
install_source_graphical.pm use validate_script_output instead of typing and needles matching 2015-11-04 14:38:36 +01:00
install_source_variation.pm use validate_script_output instead of typing and needles matching 2015-11-04 14:38:36 +01:00
uefi_postinstall.pm use assert_script_run when possible 2016-01-12 09:27:14 -08:00
upgrade_postinstall_desktop.pm use lowercase $VERSION for upgrade version check 2015-10-16 23:38:09 -07:00
upgrade_postinstall_minimal.pm use lowercase $VERSION for upgrade version check 2015-10-16 23:38:09 -07:00
upgrade_preinstall.pm use assert_script_run when possible 2016-01-12 09:27:14 -08:00
upgrade_run.pm add a comment explaining a perl-ism 2015-12-07 15:46:20 -08:00