File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use warnings;
1111use base " consoletest" ;
1212use testapi;
1313use utils;
14- use version_utils qw( has_selinux) ;
14+ use version_utils qw( has_selinux is_leap ) ;
1515
1616sub run {
1717 select_console ' root-console' ;
@@ -24,7 +24,11 @@ sub run {
2424 if (has_selinux) {
2525 script_run(' setsebool -P httpd_can_network_connect 1' );
2626 }
27- zypper_call(' in openQA-bootstrap' );
27+ if (is_leap) {
28+ assert_script_run(' mkdir -p /usr/share/openqa/script/' );
29+ assert_script_run(' curl -L curl -L https://raw.githubusercontent.com/os-autoinst/openQA/refs/heads/master/script/openqa-bootstrap > /usr/share/openqa/script/openqa_bootstrap' ); }
30+ else { zypper_call(' in openQA-bootstrap' ); }
31+ assert_script_run(' test -e /usr/share/openqa/script/test_bootstrap && echo goodus' );
2832 my $proxy_var = get_var(' OPENQA_WEB_PROXY' ) ? ' setup_web_proxy=' . get_var(' OPENQA_WEB_PROXY' ) . ' ' : ' ' ;
2933 assert_script_run($proxy_var . " /usr/share/openqa/script/openqa-bootstrap" , 4000);
3034}
You can’t perform that action at this time.
0 commit comments