Remove hardcoded /tmp in tempfile paths

There's no specific need mentioned at the points it was added, and it
makes the Windows-hosted test run setup slightly weird.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
This commit is contained in:
Paul "TBBle" Hampson
2022-03-03 04:55:22 +11:00
parent 5427aec4f1
commit 5b78a9a8f1
5 changed files with 5 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ import (
)
func TestAdditionalGids(t *testing.T) {
testPodLogDir, err := os.MkdirTemp("/tmp", "additional-gids")
testPodLogDir, err := os.MkdirTemp("", "additional-gids")
require.NoError(t, err)
defer os.RemoveAll(testPodLogDir)