<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/126c5a1237b9b775898942a840ce2d9d5b752c3c">https://github.com/macports/macports-ports/commit/126c5a1237b9b775898942a840ce2d9d5b752c3c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 126c5a1237b9b775898942a840ce2d9d5b752c3c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jun 16 17:44:24 2020 -0500

<span style='display:block; white-space:pre;color:#404040;'>    salt: Set up tests without using system
</span>---
 sysutils/salt/Portfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/salt/Portfile b/sysutils/salt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9c123649870..56a182422c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/salt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/salt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -163,9 +163,10 @@ if {$subport eq $name} {
</span> }
 
 test {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    system -W ${worksrcpath}/build "cp -r ${worksrcpath}/conf ${worksrcpath}/test"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system -W ${worksrcpath}/build "mkdir ${worksrcpath}/test/cache"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system -W ${worksrcpath}/build "echo cachedir: ${worksrcpath}/test/cache >> ${worksrcpath}/test/minion"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    copy ${worksrcpath}/conf ${worksrcpath}/test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file mkdir ${worksrcpath}/test/cache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -E "s|^#?cachedir:.*$|cachedir: ${worksrcpath}/test/cache|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${worksrcpath}/test/minion
</span>     system -W ${worksrcpath}/build \
         "PYTHONPATH=${worksrcpath}/build/lib ${python.bin} scripts-${python.branch}/salt-call --log-file=${worksrcpath}/build/minion.log --config-dir=${worksrcpath}/test --hard-crash --local --id=local test.versions_information"
 }
</pre><pre style='margin:0'>

</pre>