diff options
Diffstat (limited to 'sys-fs/dd-rescue/files/dd_rescue-1.99-test_fix.patch')
-rw-r--r-- | sys-fs/dd-rescue/files/dd_rescue-1.99-test_fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-fs/dd-rescue/files/dd_rescue-1.99-test_fix.patch b/sys-fs/dd-rescue/files/dd_rescue-1.99-test_fix.patch new file mode 100644 index 0000000..6ddf711 --- /dev/null +++ b/sys-fs/dd-rescue/files/dd_rescue-1.99-test_fix.patch @@ -0,0 +1,11 @@ +--- dd_rescue-1.99/test_crypt.sh ++++ dd_rescue-1.99/test_crypt.sh +@@ -97,7 +97,7 @@ + $VG ./dd_rescue -t -m 4096 urandom urandom.new || exit 1 + # Ensure that we don't have 01 or 02 02 or ... at the end, + # which would trip pad=asneeded +-echo -n "a" | dd_rescue -S 4095 -m 1 - urandom.new ++echo -n "a" | ./dd_rescue -S 4095 -m 1 - urandom.new + mv urandom.new urandom + enc_dec_compare_keys urandom AES192-CBC "" pad=always "" "-qpt" + enc_dec_compare_keys urandom AES192-CBC "" pad=asneeded "" "-qpt" |