Can you explain why we need two suites.
Well, no, in light of what you write below:
--------------
There were changes made to Cloudscape (and thus in Derby) that automatically configure encryption based upon the running virtual machine, especially in JDK 1.4. I know the split of the encryption suites was before these changes were made, where previously the encyption provider had to be stated explicitly if it wasn't Sun's. Thus can we handle a single JVM indpendent suite now? ---------------
Thx for the info - I was not aware of the fix. So here's a new patch, with just one suite, running the storemats suite with an encryption algorithm.
Note also, that for the encryption tests to work, one *does* need to load separate encryption provider jars from sun when working with jdk131. With jdk14 it's included. This will go into the readme when I update it. The suite will get skipped if you don't have the provider stuff.
Myrna
Index:
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
(revision 0)
+++
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
(revision 0)
@@ -0,0 +1,4 @@
+encryption=true
+testEncryptionAlgorithm=DESede/CBC/NoPadding
+testJavaFlags=testDataEncryption=Thursday
+suites=storemats
Property changes on:
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
___________________________________________________________________
Name: svn:eol-style
+ native
Index:
java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties
(revision 125764)
+++
java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties
(working copy)
@@ -1,3 +1,3 @@
-suites=derbylang derbynetmats storeall xa derbytools jdbc20 jdk14 jdbcapi
+suites=derbylang derbynetmats storeall xa derbytools jdbc20 jdk14 jdbcapi
encryption
derby.debug.true=enableBtreeConsistencyCheck
derby.stream.error.logSeverityLevel=0
