From 5325ccd18d7aefdadf5c2f0211f8a560980c9df7 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Mon, 7 Oct 2024 10:00:16 +0200 Subject: [PATCH] Revert "replace /tmp with /var/tmp" This reverts commit b3b57e53a49715815f73e3194ad6aa7ecc1dc8d9. --- test/e2e/storage/drivers/in_tree.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/storage/drivers/in_tree.go b/test/e2e/storage/drivers/in_tree.go index 402ad397858..8e6ef01d8f0 100644 --- a/test/e2e/storage/drivers/in_tree.go +++ b/test/e2e/storage/drivers/in_tree.go @@ -1228,8 +1228,8 @@ func (l *localDriver) PrepareTest(ctx context.Context, f *framework.Framework) * // tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,inode64) // This prevents scripts and binaries from being executed from the /tmp directory. // This can cause errors like "Permission denied" when executing files from `/tmp`. - // To pass the test that verifies the execution of files on a volume, we use `/var/tmp` instead of `/tmp`. - l.ltrMgr = utils.NewLocalResourceManager("local-driver", l.hostExec, "/var/tmp") + // To pass the test that verifies the execution of files on a volume, we use `/var` instead of `/tmp`. + l.ltrMgr = utils.NewLocalResourceManager("local-driver", l.hostExec, "/var") // This can't be done in SkipUnsupportedTest because the test framework is not initialized yet if l.volumeType == utils.LocalVolumeGCELocalSSD {