Skip to content

Commit

Permalink
Merge pull request #5265 from os-autoinst-bot/gh-pages-230726022603
Browse files Browse the repository at this point in the history
Update documentation to commit 6c9149e
  • Loading branch information
okurz committed Jul 26, 2023
2 parents a9c61d6 + 95f5fa9 commit 02190bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/api/testapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2062,7 +2062,7 @@ <h5 id="_backend_get_wait_still_screen_on_here_doc_input">backend_get_wait_still
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-07-21 02:26:37 UTC
Last updated 2023-07-26 02:28:13 UTC
</div>
</div>
</body>
Expand Down
Binary file modified docs/current.pdf
Binary file not shown.
16 changes: 7 additions & 9 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6460,11 +6460,11 @@ <h3 id="_test_case_examples">Test Case Examples</h3>
<span class="tok-n">assert_screen</span><span class="tok-p">(</span><span class="tok-s1">&#39;openqa-search-results&#39;</span><span class="tok-p">)</span>

<span class="tok-c1"># import further Perl-based libraries (besides `testapi`)</span>
<span class="tok-n">perl</span><span class="tok-o">.</span><span class="tok-n">require</span><span class="tok-p">(</span><span class="tok-s2">&quot;x11utils&quot;</span><span class="tok-p">)</span>
<span class="tok-n">perl</span><span class="tok-o">.</span><span class="tok-n">require</span><span class="tok-p">(</span><span class="tok-s1">&#39;x11utils&#39;</span><span class="tok-p">)</span>

<span class="tok-c1"># use imported Perl-based libraries; call Perl function that would be called via &quot;named arguments&quot; in Perl</span>
<span class="tok-c1"># note: In Perl the call would have been: x11_start_program(&#39;flatpak run com.obsproject.Studio&#39;, target_match =&gt; &#39;obsproject-wizard&#39;)</span>
<span class="tok-n">perl</span><span class="tok-o">.</span><span class="tok-n">x11utils</span><span class="tok-o">.</span><span class="tok-n">x11_start_program</span><span class="tok-p">(</span><span class="tok-s2">&quot;flatpak run com.obsproject.Studio&quot;</span><span class="tok-p">,</span> <span class="tok-s2">&quot;target_match&quot;</span><span class="tok-p">,</span> <span class="tok-s2">&quot;obsproject-wizard&quot;</span><span class="tok-p">)</span>
<span class="tok-n">perl</span><span class="tok-o">.</span><span class="tok-n">x11utils</span><span class="tok-o">.</span><span class="tok-n">x11_start_program</span><span class="tok-p">(</span><span class="tok-s1">&#39;flatpak run com.obsproject.Studio&#39;</span><span class="tok-p">,</span> <span class="tok-s1">&#39;target_match&#39;</span><span class="tok-p">,</span> <span class="tok-s1">&#39;obsproject-wizard&#39;</span><span class="tok-p">)</span>

<span class="tok-k">def</span> <span class="tok-nf">switch_to_root_console</span><span class="tok-p">():</span>
<span class="tok-n">send_key</span><span class="tok-p">(</span><span class="tok-s1">&#39;ctrl-alt-f3&#39;</span><span class="tok-p">)</span>
Expand Down Expand Up @@ -9476,12 +9476,10 @@ <h3 id="_configure_firewalld">Configure firewalld</h3>
<div class="listingblock">
<div class="content">
<pre class="pygments highlight"><code><span></span># add new service &quot;isotovideo&quot; with ports covering 50 worker slots as explained in debugging steps above
firewall-cmd --new-service isotovideo
for i in {1..50}; do firewall-cmd --service=isotovideo --add-port=$((i * 10 + 20003))/tcp ; done
# allow the service in your zone (public in this example) right now
firewall-cmd --zone=public --add-service=isotovideo
# ensure the settings to be effective after firewall or host restarts
firewall-cmd --runtime-to-permanent</code></pre>
firewall-cmd --permanent --new-service isotovideo
for i in {1..50}; do firewall-cmd --permanent --service=isotovideo --add-port=$((i * 10 + 20003))/tcp ; done
# allow the service in your zone (trusted in this example) right now
firewall-cmd --permanent --zone=trusted --add-service=isotovideo</code></pre>
</div>
</div>
</div>
Expand Down Expand Up @@ -12451,7 +12449,7 @@ <h3 id="_developing_tests_with_container_setup">Developing tests with container
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-07-21 02:23:32 UTC
Last updated 2023-07-26 02:25:21 UTC
</div>
</div>
</body>
Expand Down

0 comments on commit 02190bd

Please sign in to comment.