diff for duplicates of <20200203181855.42987-4-ebiggers@kernel.org> diff --git a/a/1.txt b/N1/1.txt index ada20a2..ca16587 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -36,7 +36,7 @@ index 98a407ce..5695a123 100644 +# Serialize an integer into a CPU-endian bytestring of the given length, and +# print it as a string where each byte is hex-escaped. For example, -+# `_num_to_hex 1000 4` == "\xe8\x03\x00\x00" if the CPU is little endian. ++# `_num_to_hex 1000 4` = "\xe8\x03\x00\x00" if the CPU is little endian. +_num_to_hex() +{ + local value=$1 @@ -207,9 +207,9 @@ index 00000000..260bad89 + local keyid + + echo -+ echo "# ==========================" ++ echo "# =============" + echo "# Test with policy version $vers" -+ echo "# ==========================" ++ echo "# =============" + + case $vers in + 1) @@ -269,9 +269,9 @@ index 00000000..260bad89 +# fscrypt-provisioning keys can't be read back by userspace, and that the +# filesystem only accepts properly matching fscrypt-provisioning keys. +echo -+echo "# ================" ++echo "# ========" +echo "# Validation tests" -+echo "# ================" ++echo "# ========" + +echo -e "\n# Adding an invalid fscrypt-provisioning key fails" +echo "# ... bad type" @@ -319,9 +319,9 @@ index 00000000..b7795f9a @@ -0,0 +1,73 @@ +QA output created by 806 + -+# ========================== ++# ============= +# Test with policy version 1 -+# ========================== ++# ============= + +# Adding key to filesystem +Added encryption key with descriptor 0000111122223333 @@ -342,9 +342,9 @@ index 00000000..b7795f9a + +# Cleaning up + -+# ========================== ++# ============= +# Test with policy version 2 -+# ========================== ++# ============= + +# Adding key to filesystem +Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751 @@ -365,9 +365,9 @@ index 00000000..b7795f9a + +# Cleaning up + -+# ================ ++# ======== +# Validation tests -+# ================ ++# ======== + +# Adding an invalid fscrypt-provisioning key fails +# ... bad type diff --git a/a/content_digest b/N1/content_digest index fc01168..4b59e92 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 3/3] generic: test adding filesystem-level fscrypt key via key_id\0" - "Date\0Mon, 3 Feb 2020 10:18:55 -0800\0" + "Date\0Mon, 03 Feb 2020 18:18:55 +0000\0" "To\0fstests@vger.kernel.org\0" "Cc\0linux-fscrypt@vger.kernel.org" " keyrings@vger.kernel.org\0" @@ -45,7 +45,7 @@ " \n" "+# Serialize an integer into a CPU-endian bytestring of the given length, and\n" "+# print it as a string where each byte is hex-escaped. For example,\n" - "+# `_num_to_hex 1000 4` == \"\\xe8\\x03\\x00\\x00\" if the CPU is little endian.\n" + "+# `_num_to_hex 1000 4` = \"\\xe8\\x03\\x00\\x00\" if the CPU is little endian.\n" "+_num_to_hex()\n" "+{\n" "+\tlocal value=$1\n" @@ -216,9 +216,9 @@ "+\tlocal keyid\n" "+\n" "+\techo\n" - "+\techo \"# ==========================\"\n" + "+\techo \"# =============\"\n" "+\techo \"# Test with policy version $vers\"\n" - "+\techo \"# ==========================\"\n" + "+\techo \"# =============\"\n" "+\n" "+\tcase $vers in\n" "+\t1)\n" @@ -278,9 +278,9 @@ "+# fscrypt-provisioning keys can't be read back by userspace, and that the\n" "+# filesystem only accepts properly matching fscrypt-provisioning keys.\n" "+echo\n" - "+echo \"# ================\"\n" + "+echo \"# ========\"\n" "+echo \"# Validation tests\"\n" - "+echo \"# ================\"\n" + "+echo \"# ========\"\n" "+\n" "+echo -e \"\\n# Adding an invalid fscrypt-provisioning key fails\"\n" "+echo \"# ... bad type\"\n" @@ -328,9 +328,9 @@ "@@ -0,0 +1,73 @@\n" "+QA output created by 806\n" "+\n" - "+# ==========================\n" + "+# =============\n" "+# Test with policy version 1\n" - "+# ==========================\n" + "+# =============\n" "+\n" "+# Adding key to filesystem\n" "+Added encryption key with descriptor 0000111122223333\n" @@ -351,9 +351,9 @@ "+\n" "+# Cleaning up\n" "+\n" - "+# ==========================\n" + "+# =============\n" "+# Test with policy version 2\n" - "+# ==========================\n" + "+# =============\n" "+\n" "+# Adding key to filesystem\n" "+Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751\n" @@ -374,9 +374,9 @@ "+\n" "+# Cleaning up\n" "+\n" - "+# ================\n" + "+# ========\n" "+# Validation tests\n" - "+# ================\n" + "+# ========\n" "+\n" "+# Adding an invalid fscrypt-provisioning key fails\n" "+# ... bad type\n" @@ -411,4 +411,4 @@ "-- \n" 2.25.0.341.g760bfbb309-goog -4af869dab0bc470707686459479403db0f47838ed8e3f300f0f3936e4f34d710 +9b34d7310eacca0c8fec3486ce35a9d139dc3ac853f94c7f9471c8fa933cf77b
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.