<div dir="ltr">Yeah, maybe cd'ing to %t would be sufficient (& then change the path to be '.'). I see 'cd' is used in enough other tests that I guess it's fairly portable/usable in tests.<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 29, 2017 at 1:15 PM Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't even think you would need the rmdir or the mkdir, that's already handled by this patch.  All you would need to do is have the test cd at the beginning.  Since this is only for a single test, is that maybe a better approach?</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 29, 2017 at 12:46 PM Reid Kleckner <<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 29, 2017 at 11:20 AM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Any chance of trying to make the working directory be the child directory (output/foo instead of just output/)? That way those symbolize tests would be portable to different directories (as they were before since they just baked in the universal 'output' subdirectory, which isn't a thing anymore with this change)) and different directory layouts like this change in the future</div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>We could make the test resilient to these changes by doing `RUN: rm -rf %t && mkdir -p %t/Output && cd %t/Output`</div></div></div></div>
</blockquote></div>
</blockquote></div></div>