From ac230d9cce3890d75fadce4abd461743b81641b7 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 12 Apr 2018 15:55:52 -0400 Subject: [PATCH] Fix mass testing https://github.com/drwetter/testssl.sh/commit/b2be380b5465bcf8a8fc028d943a2687df10c8f8 inadvertently changed MASS_TESTING_CMDLINE to be a read-only variable. This causes mass testing to fail, since in mass testing the value of MASS_TESTING_CMDLINE is set to the command line for each child test. --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 2cb7c01..ac5edce 100755 --- a/testssl.sh +++ b/testssl.sh @@ -145,7 +145,7 @@ HNAME="${HNAME%%.*}" declare CMDLINE declare -r -a CMDLINE_ARRAY=("$@") # When performing mass testing, the child processes need to be sent the -declare -r -a MASS_TESTING_CMDLINE # command line in the form of an array (see #702 and http://mywiki.wooledge.org/BashFAQ/050). +declare -a MASS_TESTING_CMDLINE # command line in the form of an array (see #702 and http://mywiki.wooledge.org/BashFAQ/050). ########### Some predefinitions: date, sed (we always use test and not try to determine