This is an archive of the discontinued LLVM Phabricator instance.

Improve robustness of dependency-generation-crash.c test.
ClosedPublic

Authored by MatzeB on Feb 13 2015, 11:28 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 19911.Feb 13 2015, 11:28 AM
MatzeB retitled this revision from to Improve robustness of dependency-generation-crash.c test..
MatzeB updated this object.
MatzeB edited the test plan for this revision. (Show Details)
MatzeB added a reviewer: mcrosier.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: Unknown Object (MLST).
mcrosier accepted this revision.Mar 2 2015, 11:55 AM
mcrosier edited edge metadata.

Seems reasonable.

This revision is now accepted and ready to land.Mar 2 2015, 11:55 AM
This revision was automatically updated to reflect the committed changes.