Project

General

Profile

action #44399

Updated by dheidler about 6 years ago

When calling `script_sudo` or `assert_script_sudo` as root (eg to avoid code duplication) it fails as openQA expects a password prompt that doesn't appear when the shell is already a root-shell: 



 To show this issue I just added this two lines to the top of a test module: 

     select_console 'root-console'; 
     assert_script_sudo 'whoami'; 

 http://artemis.suse.de/tests/1007#step/rsync/10 


 http://artemis.suse.de/tests/980#step/sshxterm/21 

 Expected result: openQA should gracefully handle this.

Back