<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/57eb55f7d9cdd0deb07601a4bd8e87f3f6f3e163">https://github.com/macports/macports-base/commit/57eb55f7d9cdd0deb07601a4bd8e87f3f6f3e163</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 57eb55f7 In fs-traverse test, pass a list of valid paths
</span>57eb55f7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 57eb55f7d9cdd0deb07601a4bd8e87f3f6f3e163
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Aug 17 16:14:28 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> In fs-traverse test, pass a list of valid paths
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Variables aren't expanded in {}-quoted strings so the paths fs-traverse
</span><span style='display:block; white-space:pre;color:#404040;'> saw didn't exist. This test is supposed to fail, but this change makes
</span><span style='display:block; white-space:pre;color:#404040;'> sure it's failing for the intended reason (-tails being used with
</span><span style='display:block; white-space:pre;color:#404040;'> multiple paths) and not because the paths didn't exist.
</span>---
src/pextlib1.0/tests/fs-traverse.tcl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/pextlib1.0/tests/fs-traverse.tcl b/src/pextlib1.0/tests/fs-traverse.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 955209b2..c50c8f24 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/pextlib1.0/tests/fs-traverse.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/pextlib1.0/tests/fs-traverse.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,7 +111,7 @@ proc main {pextlibname} {
</span> # Test -tails option with multiple paths
# It should error out
if {![catch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- fs-traverse -tails file {$root/a $root/b} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse -tails file [list $root/a $root/b] {}
</span> }]} {
error "fs-traverse did not error when using multiple paths with -tails"
}
</pre><pre style='margin:0'>
</pre>