From 1bff6847fb20869a2738d8171fc137a9d77f9496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 22 Jun 2020 10:11:47 +0200 Subject: [PATCH] Adjust comments about SEED synchronisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- tests/scripts/all.sh | 6 +++++- tests/scripts/basic-build-test.sh | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 560ff7928..5adc8717d 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -161,7 +161,11 @@ pre_initialize_variables () { KEEP_GOING=0 # Seed value used with the --release-test option. - # !!! Keep this in sync with SEED in basic-build-test.sh !!! + # + # See also RELEASE_SEED in basic-build-test.sh. Debugging is easier if + # both values are kept in sync. If you change the value here because it + # breaks some tests, you'll definitely want to change it in + # basic-build-test.sh as well. RELEASE_SEED=1 # Default commands, can be overridden by the environment diff --git a/tests/scripts/basic-build-test.sh b/tests/scripts/basic-build-test.sh index 639a3495e..1d21dc7ad 100755 --- a/tests/scripts/basic-build-test.sh +++ b/tests/scripts/basic-build-test.sh @@ -84,7 +84,10 @@ fi : ${GNUTLS_LEGACY_SERV:="$GNUTLS_SERV"} # Used to make ssl-opt.sh deterministic. -# !!! Keep this in sync with RELEASE_SEED in all.sh !!! +# +# See also RELEASE_SEED in all.sh. Debugging is easier if both values are kept +# in sync. If you change the value here because it breaks some tests, you'll +# definitely want to change it in all.sh as well. : ${SEED:=1} export SEED