Blame SOURCES/gnutls-3.1.10-tests-rndport.patch

9199b3
diff -up gnutls-3.1.10/tests/dsa/testdsa.rndport gnutls-3.1.10/tests/dsa/testdsa
9199b3
--- gnutls-3.1.10/tests/dsa/testdsa.rndport	2013-03-21 21:42:28.000000000 +0100
9199b3
+++ gnutls-3.1.10/tests/dsa/testdsa	2013-03-26 15:50:38.973561603 +0100
9199b3
@@ -23,7 +23,7 @@
9199b3
 srcdir="${srcdir:-.}"
9199b3
 SERV="${SERV:-../../src/gnutls-serv} -q"
9199b3
 CLI="${CLI:-../../src/gnutls-cli}"
9199b3
-PORT="${PORT:-5559}"
9199b3
+PORT="${PORT:-$((RANDOM+5000))}"
9199b3
 DEBUG=""
9199b3
 unset RETCODE
9199b3
 
9199b3
diff -up gnutls-3.1.10/tests/openpgp-certs/testcerts.rndport gnutls-3.1.10/tests/openpgp-certs/testcerts
9199b3
--- gnutls-3.1.10/tests/openpgp-certs/testcerts.rndport	2013-03-21 21:42:28.000000000 +0100
9199b3
+++ gnutls-3.1.10/tests/openpgp-certs/testcerts	2013-03-26 15:52:33.207007952 +0100
9199b3
@@ -23,7 +23,7 @@
9199b3
 srcdir="${srcdir:-.}"
9199b3
 SERV="${SERV:-../../src/gnutls-serv} -q"
9199b3
 CLI="${CLI:-../../src/gnutls-cli}"
9199b3
-PORT="${PORT:-5557}"
9199b3
+PORT="${PORT:-$((RANDOM+5000))}"
9199b3
 DEBUG=""
9199b3
 
9199b3
 if test "${WINDIR}" != "";then