Skip to content

Commit b3b57e5

Browse files
replace /tmp with /var/tmp
Signed-off-by: yaroslavborbat <[email protected]>
1 parent 62c5fd9 commit b3b57e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/storage/drivers/in_tree.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,8 +1228,8 @@ func (l *localDriver) PrepareTest(ctx context.Context, f *framework.Framework) *
12281228
// tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,inode64)
12291229
// This prevents scripts and binaries from being executed from the /tmp directory.
12301230
// This can cause errors like "Permission denied" when executing files from `/tmp`.
1231-
// To pass the test that verifies the execution of files on a volume, we use `/var` instead of `/tmp`.
1232-
l.ltrMgr = utils.NewLocalResourceManager("local-driver", l.hostExec, "/var")
1231+
// To pass the test that verifies the execution of files on a volume, we use `/var/tmp` instead of `/tmp`.
1232+
l.ltrMgr = utils.NewLocalResourceManager("local-driver", l.hostExec, "/var/tmp")
12331233

12341234
// This can't be done in SkipUnsupportedTest because the test framework is not initialized yet
12351235
if l.volumeType == utils.LocalVolumeGCELocalSSD {

0 commit comments

Comments
 (0)