Skip to content

Commit 1b5ea16

Browse files
committed
LDEV-4018 build : remove dependency on compress and esapi for the test cases
1 parent 462ce2c commit 1b5ea16

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

test/bootstrap-tests.cfm

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<cfscript>
2-
encodeForHTML("abc"); // test if ESAPI extension exist right away
2+
//encodeForHTML("abc"); // test if ESAPI extension exist right away
33
systemOutput("---------- #DateTimeFormat(now(),'yyyy-mm-dd HH:nn:ss')# - Lucee Started ----------", true);
44
55
setting requesttimeout = 10*60; // 10 mins, for when running via script-runner and _internalRequest
@@ -11,8 +11,8 @@
1111
param name="testFilter" default="";
1212
param name="srcAll" default="../core/src/main/"; // used for compiling
1313
14-
param name="testBoxArchive" default="";
15-
14+
param name="testBoxArchive" default="";
15+
1616
if (len(test) eq 0){
1717
test = GetDirectoryFromPath(GetCurrentTemplatePath());
1818
test =left(test, len(test)-1);
@@ -89,12 +89,7 @@
8989
fileWrite( testboxArchive, FileReadBinary( testboxUrl ) );
9090
testboxDir = "#getTempDirectory()#testbox";
9191
92-
// we need the compress extension, if running with lucee light, it won't be installed yet
93-
if ( !extensionExists("8D7FB0DF-08BB-1589-FE3975678F07DB17") ){
94-
throw "Lucee Compress extension is required, but not installed, are you using the Lucee light jar?";
95-
}
96-
97-
zip action="unzip" file="#testboxArchive#" destination="#getTempDirectory()#";
92+
extract( format="zip", source=testboxArchive, target=getTempDirectory() );
9893
testboxArchive = testboxDir;
9994
10095
admin

0 commit comments

Comments
 (0)