]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3287] address review
authorAndrei Pavel <andrei@isc.org>
Mon, 17 Jun 2024 17:46:54 +0000 (20:46 +0300)
committerAndrei Pavel <andrei@isc.org>
Thu, 20 Jun 2024 15:31:30 +0000 (18:31 +0300)
src/bin/shell/tests/tls_ca_process_tests.sh.in
tools/check-for-json-errors-in-doc.sh
tools/extract_bnf.sh.in

index 2ece6c6c611ee54717649b00745608bc23763ee0..d72564075a4ecee294659b56ae7fc0ef8d648451 100644 (file)
@@ -152,14 +152,14 @@ list_commands_test() {
 
     # shellcheck disable=SC2086
     # SC2086: Double quote to prevent globbing and word splitting.
-    # Reason: we spcifically want ${arguments} to split because there may be multiple words in it.
+    # Reason: we specifically want ${arguments} to split because there may be multiple words in it.
     tmp="echo | ${shell_bin_path}/${shell_bin} --port 8443 \
     ${arguments} > ${tmpfile_path}/shell-stdout.txt"
     echo "Executing kea-shell ($tmp)"
 
     # shellcheck disable=SC2086
     # SC2086: Double quote to prevent globbing and word splitting.
-    # Reason: we spcifically want ${arguments} to split because there may be multiple words in it.
+    # Reason: we specifically want ${arguments} to split because there may be multiple words in it.
     echo | ${shell_bin_path}/${shell_bin} --port 8443 \
     ${arguments} > ${tmpfile_path}/shell-stdout.txt
     EXIT_CODE=$?
index 764827e5c6c694750391bde6b680f999638b7ea6..42cc54bf1938bff5ac02a7c4cd71bb11d6b9fa24 100755 (executable)
@@ -90,7 +90,7 @@ for file in ${files}; do
           # 4. replace all '[ <DATA> ]' with '[ "<DATA>" ]' where DATA contains: '-' and 'A-Za-z0-9' and ' '
           # 5. replace all ' <DATA>:' with ' "<DATA>":'
           # 6. replace all ': <DATA>' with ': "<DATA>"'
-          # 7. replace '   ...' with '   "placeholder": "value"
+          # 7. replace '   ...' with '   "placeholder": "value"'
           # 8. replace ', ... ' with ' '
           # 9. replace '   <DATA>' with '   "placeholder": "value"'
           # 10. replace ' <DATA>' with ' "placeholder"'
index 02c69e3335f26e16356200d4daf43c6fcb32f56b..96767936a9927571d379d132978d828c258e823e 100644 (file)
@@ -85,7 +85,7 @@ $header
 EOF
     # shellcheck disable=SC2016
     # SC2016: Expressions don't expand in single quotes, use double quotes for that.
-    # Reason: we spcifically do not want $0 to expand.
+    # Reason: we specifically do not want $0 to expand.
     @AWK@ '/^.+$/ { print "    ",$0 }; /^$/ { print } ' $output.2 >> $output.3
     cat $output.3
 else