From dfb00f30aaf4caf0a78a5f0888689fac874428c5 Mon Sep 17 00:00:00 2001 From: Chris Gunn Date: Thu, 4 Apr 2024 12:17:40 -0700 Subject: [PATCH] Bug fix --- .../tools/pkg/imagecustomizerlib/imagecustomizer_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/toolkit/tools/pkg/imagecustomizerlib/imagecustomizer_test.go b/toolkit/tools/pkg/imagecustomizerlib/imagecustomizer_test.go index 8eba908f941..8b70bc60be0 100644 --- a/toolkit/tools/pkg/imagecustomizerlib/imagecustomizer_test.go +++ b/toolkit/tools/pkg/imagecustomizerlib/imagecustomizer_test.go @@ -163,7 +163,7 @@ func TestValidateConfigdditionalFilesIsDir(t *testing.T) { } func TestValidateConfigScript(t *testing.T) { - err := validScripts(testDir, &imagecustomizerapi.Scripts{ + err := validateScripts(testDir, &imagecustomizerapi.Scripts{ PostCustomization: []imagecustomizerapi.Script{ { Path: "scripts/postcustomizationscript.sh", @@ -179,7 +179,7 @@ func TestValidateConfigScript(t *testing.T) { } func TestValidateConfigScriptNonLocalFile(t *testing.T) { - err := validScripts(testDir, &imagecustomizerapi.Scripts{ + err := validateScripts(testDir, &imagecustomizerapi.Scripts{ FinalizeCustomization: []imagecustomizerapi.Script{ { Path: "../a.sh", @@ -190,7 +190,7 @@ func TestValidateConfigScriptNonLocalFile(t *testing.T) { } func TestValidateConfigScriptNonExecutable(t *testing.T) { - err := validScripts(testDir, &imagecustomizerapi.Scripts{ + err := validateScripts(testDir, &imagecustomizerapi.Scripts{ FinalizeCustomization: []imagecustomizerapi.Script{ { Path: "files/a.txt",