mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-15 11:40:30 +03:00
tests: support Java setups where MD5 is not disabled by default
For platforms using Java < 1.8.0_133, MD5 is still enabled for JAR signatures. Its just too painful to manage all this, so support this in the tests.
This commit is contained in:
parent
373b46ab3f
commit
dc569b9c18
2 changed files with 27 additions and 0 deletions
|
|
@ -46,6 +46,11 @@ have_git_2_3() {
|
|||
python3 -c "import sys; from distutils.version import LooseVersion as V; sys.exit(V(sys.argv[3]) < V('2.3'))" `git --version`
|
||||
}
|
||||
|
||||
is_MD5_disabled() {
|
||||
javac $WORKSPACE/tests/IsMD5Disabled.java && java -cp $WORKSPACE/tests IsMD5Disabled
|
||||
return $?
|
||||
}
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
# "main"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue