diff options
Diffstat (limited to 'mail/nmh-devel/files/patch-test_mhshow_test-binary')
-rw-r--r-- | mail/nmh-devel/files/patch-test_mhshow_test-binary | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/nmh-devel/files/patch-test_mhshow_test-binary b/mail/nmh-devel/files/patch-test_mhshow_test-binary new file mode 100644 index 000000000000..73aabc7d7060 --- /dev/null +++ b/mail/nmh-devel/files/patch-test_mhshow_test-binary @@ -0,0 +1,20 @@ +--- test/mhshow/test-binary.orig 2023-12-04 03:00:44 UTC ++++ test/mhshow/test-binary +@@ -21,7 +21,7 @@ expected="$MH_TEST_DIR/test-binary$$.expected" + + #### Use the printf to output the NUL byte so that this + #### file (test-binary) doesn't need to be a binary file. +-printf '%s\000%s' >"${expected}" \ ++printf '%s\x00%s' >"${expected}" \ + "[ Message inbox:11 ] + To: recipient@example.edu + From: sender@example.edu +@@ -33,7 +33,7 @@ Here's a null byte: " ". + Here's a null byte: " ". + " + +-printf '%s\000%s' >`mhpath new` \ ++printf '%s\x00%s' >`mhpath new` \ + "From: sender@example.edu + To: recipient@example.edu + Subject: test binary content |