File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/case/misc/support_collect Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3939 # Note: timeout is generous to handle systems with many network ports
4040 # (ethtool collection scales with number of interfaces)
4141 with open (output_file , 'wb' ) as f :
42- result = tgtssh .run ("support --work-dir /tmp collect --log-sec 2" ,
42+ result = tgtssh .run ("sudo support --work-dir /tmp collect --log-sec 2" ,
4343 stdout = f ,
4444 stderr = subprocess .PIPE ,
4545 timeout = 120 )
117117
118118 # Run support collect with encryption
119119 with open (encrypted_file , 'wb' ) as f :
120- result = tgtssh .run (f"support --work-dir /tmp collect --log-sec 2 --password { test_password } " ,
120+ result = tgtssh .run (f"sudo support --work-dir /tmp collect --log-sec 2 --password { test_password } " ,
121121 stdout = f ,
122122 stderr = subprocess .PIPE ,
123123 timeout = 120 )
You can’t perform that action at this time.
0 commit comments