Skip to content

Commit 796d0d2

Browse files
committed
Update unit test fixture to latest migcheckssl change.
1 parent 92aec4a commit 796d0d2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/fixture/confs-stdlocal/migcheckssl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,18 @@ if [[ ${org_mtime} -ne ${new_mtime} && "${org_chksum}" != "${new_chksum}" ]]; th
289289
echo "FILE::${combined_pem_sha256}"
290290
echo "optionally appending '\$\$CACHE_PATH' for memory caching in CACHE_PATH."
291291
echo "${pem_sha256_fp}" > ${combined_pem_sha256}
292+
pub_md5_fp=$(ssh-keygen -l -E md5 -f ${combined_pub})
293+
pub_md5_fp=${pub_md5_fp/* MD5:/}
294+
pub_md5_fp=${pub_md5_fp/ */}
295+
echo "Please verify that sftp md5 fingerprint in MiGserver.conf is:"
296+
echo "${pub_md5_fp}"
297+
echo "or point that configuration value to the latest fingerprint file with:"
298+
echo "FILE::${combined_pub_md5}"
299+
echo "optionally appending '\$\$CACHE_PATH' for memory caching in CACHE_PATH."
300+
echo "${pub_md5_fp}" > ${combined_pub_md5}
292301
pub_sha256_fp=$(ssh-keygen -l -f ${combined_pub})
293302
pub_sha256_fp=${pub_sha256_fp/* SHA256:/}
294-
pub_sha256_fp=${pub_sha256_fp/ no comment */}
303+
pub_sha256_fp=${pub_sha256_fp/ */}
295304
echo "Please verify that sftp sha256 fingerprint in MiGserver.conf is:"
296305
echo "${pub_sha256_fp}"
297306
echo "or point that configuration value to the latest fingerprint file with:"

0 commit comments

Comments
 (0)