<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">No, thanks for mentioning it.</div><div class=""><br class=""></div><div class="">- Matthias</div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 2, 2015, at 4:09 PM, Daniel Jasper <<a href="mailto:djasper@google.com" class="">djasper@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Are you intentionally using %t and $t?</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Mar 2, 2015 at 9:44 PM, Matthias Braun <span dir="ltr" class=""><<a href="mailto:matze@braunis.de" target="_blank" class="">matze@braunis.de</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: matze<br class="">
Date: Mon Mar 2 14:44:09 2015<br class="">
New Revision: 231009<br class="">
<br class="">
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=231009&view=rev" target="_blank" class="">http://llvm.org/viewvc/llvm-project?rev=231009&view=rev</a><br class="">
Log:<br class="">
Improve robustness of dependency-generation-crash.c test.<br class="">
<br class="">
The test wants to provoke a failure when opening the output file.<br class="">
Using chmod 0 on the output file does not work reliably on all<br class="">
filesystems or when running the test as root.<br class="">
Change the test to use a nonexistant directory instead.<br class="">
<br class="">
Differential Revision: <a href="http://reviews.llvm.org/D7620" target="_blank" class="">http://reviews.llvm.org/D7620</a><br class="">
<br class="">
Modified:<br class="">
cfe/trunk/test/Frontend/dependency-generation-crash.c<br class="">
<br class="">
Modified: cfe/trunk/test/Frontend/dependency-generation-crash.c<br class="">
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/dependency-generation-crash.c?rev=231009&r1=231008&r2=231009&view=diff" target="_blank" class="">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/dependency-generation-crash.c?rev=231009&r1=231008&r2=231009&view=diff</a><br class="">
==============================================================================<br class="">
--- cfe/trunk/test/Frontend/dependency-generation-crash.c (original)<br class="">
+++ cfe/trunk/test/Frontend/dependency-generation-crash.c Mon Mar 2 14:44:09 2015<br class="">
@@ -1,7 +1,4 @@<br class="">
-// RUN: touch %t<br class="">
-// RUN: chmod 0 %t<br class="">
-// RUN: not %clang_cc1 -E -dependency-file bla -MT %t -MP -o %t -x c /dev/null 2>&1 | FileCheck %s<br class="">
-// RUN: rm -f %t<br class="">
+// RUN: not %clang_cc1 -E -dependency-file bla -MT %t/doesnotexist/bla.o -MP -o $t/doesnotexist/bla.o -x c /dev/null 2>&1 | FileCheck %s<br class="">
<br class="">
// CHECK: error: unable to open output file<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
cfe-commits mailing list<br class="">
<a href="mailto:cfe-commits@cs.uiuc.edu" class="">cfe-commits@cs.uiuc.edu</a><br class="">
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank" class="">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>