diff for duplicates of <20200203181855.42987-3-ebiggers@kernel.org> diff --git a/a/1.txt b/N1/1.txt index 2e055fe..12d78ab 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,8 +22,7 @@ index 2e9908ad..98a407ce 100644 +# For some tests it's helpful to always use the same key so that the test's +# output is always the same. For this purpose the following key can be used: -+TEST_RAW_KEY= -+for i in {1..64}; do ++TEST_RAW_KEY+for i in {1..64}; do + TEST_RAW_KEY+="\\x$(printf "%02x" $i)" +done +# Key descriptor: arbitrary value @@ -49,7 +48,7 @@ index d0b0e9b3..283d6efa 100755 - raw_key+="\\x$(printf "%02x" $i)" - done - if (( vers == 1 )); then + if (( vers = 1 )); then - # Key descriptor: arbitrary value - local keyspec="0000111122223333" + local keyspec=$TEST_KEY_DESCRIPTOR diff --git a/a/content_digest b/N1/content_digest index b70aa94..957864e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020200203181855.42987-1-ebiggers@kernel.org\0" "From\0Eric Biggers <ebiggers@kernel.org>\0" "Subject\0[PATCH v2 2/3] common/encrypt: move constant test key to common code\0" - "Date\0Mon, 3 Feb 2020 10:18:54 -0800\0" + "Date\0Mon, 03 Feb 2020 18:18:54 +0000\0" "To\0fstests@vger.kernel.org\0" "Cc\0linux-fscrypt@vger.kernel.org" " keyrings@vger.kernel.org\0" @@ -31,8 +31,7 @@ " \n" "+# For some tests it's helpful to always use the same key so that the test's\n" "+# output is always the same. For this purpose the following key can be used:\n" - "+TEST_RAW_KEY=\n" - "+for i in {1..64}; do\n" + "+TEST_RAW_KEY+for i in {1..64}; do\n" "+\tTEST_RAW_KEY+=\"\\\\x$(printf \"%02x\" $i)\"\n" "+done\n" "+# Key descriptor: arbitrary value\n" @@ -58,7 +57,7 @@ "-\t\traw_key+=\"\\\\x$(printf \"%02x\" $i)\"\n" "-\tdone\n" " \n" - " \tif (( vers == 1 )); then\n" + " \tif (( vers = 1 )); then\n" "-\t\t# Key descriptor: arbitrary value\n" "-\t\tlocal keyspec=\"0000111122223333\"\n" "+\t\tlocal keyspec=$TEST_KEY_DESCRIPTOR\n" @@ -92,4 +91,4 @@ "-- \n" 2.25.0.341.g760bfbb309-goog -2a9ec488c7cb8fb780ba6777fa93c4cdaea18976107d99e8b53cf5f25de95fd0 +5df30e9e35ab515e629d887f23907c6202b2ec1bcd319c504491182922b525ae
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.