Use validate_script_output and regex matching instead of type_string and needles. Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D637
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D561