Improve robustness of dependency-generation-crash.c test.
authorMatthias Braun <matze@braunis.de>
Mon, 2 Mar 2015 20:44:09 +0000 (20:44 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 2 Mar 2015 20:44:09 +0000 (20:44 +0000)
commite0fc8cabda04c31623c836f46db8be85ab65b8c3
treefdcfcb896459347d12d7778d7adacc9d7a21111f
parent4c616d4df534ef6b0c6b495684addccb8ceea56e
Improve robustness of dependency-generation-crash.c test.

The test wants to provoke a failure when opening the output file.
Using chmod 0 on the output file does not work reliably on all
filesystems or when running the test as root.
Change the test to use a nonexistant directory instead.

Differential Revision: http://reviews.llvm.org/D7620

llvm-svn: 231009
clang/test/Frontend/dependency-generation-crash.c