4e0319c878
Now that most uses of reexec have been replaced with non-reexec solutions, most of the reexec.Init() calls peppered throughout the test suites are unnecessary. Furthermore, most of the reexec.Init() calls in test code neglects to check the return value to determine whether to exit, which would result in the reexec'ed subprocesses proceeding to run the tests, which would reexec another subprocess which would proceed to run the tests, recursively. (That would explain why every reexec callback used to unconditionally call os.Exit() instead of returning...) Remove unneeded reexec.Init() calls from test and example code which no longer needs it, and fix the reexec.Init() calls which are not inert to exit after a reexec callback is invoked. Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
git | ||
urlutil | ||
archive.go | ||
detect.go | ||
detect_test.go | ||
filehash.go | ||
generate.go | ||
git.go | ||
lazycontext.go | ||
mimetype.go | ||
mimetype_test.go | ||
remote.go | ||
remote_test.go | ||
tarsum.go | ||
tarsum.pb.go | ||
tarsum.proto | ||
tarsum_test.go | ||
utils_test.go |