skopeo/integration
Miloslav Trmač 2019b79c7f Use check.C.MkDir() instead of manual ioutil.TempDir() calls
This saves us at least 2 lines (error check, and cleanup) on every
instance, or in some cases adds cleanup that we forgot.

This is inspired by, but not directly related to, Go 1.15's addition of
Testing.T.TempDir.

NOTE: This might significantly increase the tests' disk space requirements;
AFAICS the temporary directories are only cleaned up when a whole "suite
finishes running.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-03-16 16:05:08 +01:00
..
fixtures Dockerfile.build: switch to fedora:latest 2021-02-24 15:49:14 +01:00
blocked_test.go Update non-module dependencies 2021-08-23 15:52:48 +02:00
check_test.go Add various missing error handling 2022-03-15 21:48:51 +01:00
copy_test.go Use check.C.MkDir() instead of manual ioutil.TempDir() calls 2022-03-16 16:05:08 +01:00
decompress-dirs.sh copy: add a --all/-a flag 2019-10-22 11:05:42 -04:00
fixtures_info_test.go Remove signature/fixtures subpackage 2016-05-21 21:21:58 +02:00
openshift_shell_test.go Run (gofmt -s -w) 2021-08-23 18:04:45 +02:00
openshift.go Use check.C.MkDir() instead of manual ioutil.TempDir() calls 2022-03-16 16:05:08 +01:00
procutils_linux.go tests: Add new "procutils" that exposes PDEATHSIG 2021-11-15 21:02:14 -05:00
procutils.go tests: Add new "procutils" that exposes PDEATHSIG 2021-11-15 21:02:14 -05:00
proxy_test.go Add various missing error handling 2022-03-15 21:48:51 +01:00
registry.go Use check.C.MkDir() instead of manual ioutil.TempDir() calls 2022-03-16 16:05:08 +01:00
signing_test.go Use check.C.MkDir() instead of manual ioutil.TempDir() calls 2022-03-16 16:05:08 +01:00
sync_test.go Use check.C.MkDir() instead of manual ioutil.TempDir() calls 2022-03-16 16:05:08 +01:00
utils.go Update non-module dependencies 2021-08-23 15:52:48 +02:00