Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
flux-start: exit gracefully with error when getcwd() fails #2280
A test for
Ensure flux-start with default list of modules fails gracefully when run from a directory that has been removed.
Problem: If flux-start is run with a current working directory that has been removed, then a very long stream of errors is emitted resulting in eventual failure. Early in flux-start main(), exit with error if getcwd() fails.
@@ Coverage Diff @@ ## master #2280 +/- ## ========================================== - Coverage 80.85% 80.84% -0.01% ========================================== Files 213 213 Lines 33458 33463 +5 ========================================== + Hits 27053 27054 +1 - Misses 6405 6409 +4