Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Use $(MKDIR_P) to avoid races.
"test -d x || mkdir x" has a race when invoked in parallel: it is possible for two processes to both see that 'x' does not exist and both try to create it, and if that happens then one of them will fail. This avoids the problem. Signed-off-by: Ben Pfaff <[email protected]> Reviewed-by: Greg Rose <[email protected]>
- Loading branch information