diff --git a/cmake/CMakeTest.cmake b/cmake/CMakeTest.cmake index f589ee3..417b27c 100644 --- a/cmake/CMakeTest.cmake +++ b/cmake/CMakeTest.cmake @@ -75,9 +75,9 @@ if(Python3_FOUND) endif(NOT client_result) endif(EXISTS "${LOGS}/url.log") - set(extensions_all "exe" "ex_" "msi" "256appx" "512appx" "cat" "ps1" "psc1" "mof") - set(extensions_nocat "exe" "ex_" "msi" "256appx" "512appx" "ps1" "psc1" "mof") - set(extensions_nocatappx "exe" "ex_" "msi" "ps1" "psc1" "mof") + set(extensions_all "exe" "ex_" "msi" "256appx" "512appx" "cat" "ps1" "psc1" "mof" "js") + set(extensions_nocat "exe" "ex_" "msi" "256appx" "512appx" "ps1" "psc1" "mof" "js") + set(extensions_nocatappx "exe" "ex_" "msi" "ps1" "psc1" "mof" "js") set(formats "pem" "der") else(NOT cryptography_error) diff --git a/tests/files/unsigned.cat b/tests/files/unsigned.cat index 73ad5ae..7c48c6f 100644 Binary files a/tests/files/unsigned.cat and b/tests/files/unsigned.cat differ diff --git a/tests/files/unsigned.js b/tests/files/unsigned.js new file mode 100644 index 0000000..06f320c --- /dev/null +++ b/tests/files/unsigned.js @@ -0,0 +1 @@ +console.log("Hello, world!"); \ No newline at end of file diff --git a/tests/sources/CatalogDefinitionFileName.cdf b/tests/sources/CatalogDefinitionFileName.cdf index 204dba4..5934a08 100644 --- a/tests/sources/CatalogDefinitionFileName.cdf +++ b/tests/sources/CatalogDefinitionFileName.cdf @@ -55,3 +55,6 @@ CATATTR1=0x11010001:OSAttr:2:6.0 MOFfile=..\files\unsigned.mof MOFfileATTR1=0x11010001:File:unsigned.mof + +JSfile=..\files\unsigned.js +JSfileATTR1=0x11010001:File:unsigned.js