commit a82759bba72a25e2887499e3c626b5390aa2c11c from: Josh Rickmar date: Sun Jul 03 21:57:37 2022 UTC fix echo/printf order and actually run the test commit - c632297d7b6d7267543afeb7b052dc8a970cdefe commit + a82759bba72a25e2887499e3c626b5390aa2c11c blob - da0dbe95ff076892344c3cd5ab8525816903e42f blob + bdc806752714ea056be21feebce9ecb070c27d5b --- regress/cmdline/tag.sh +++ regress/cmdline/tag.sh @@ -443,8 +443,9 @@ test_tag_create_ssh_signed_missing_key() { return 1 fi printf "Couldn't load public key $testroot/bogus: " \ - echo "got: unable to sign tag" >> $testroot/stderr.expected + >> $testroot/stderr.expected printf "No such file or directory\r\n" >> $testroot/stderr.expected + echo "got: unable to sign tag" >> $testroot/stderr.expected cmp -s $testroot/stderr $testroot/stderr.expected ret=$? if [ $ret -ne 0 ]; then @@ -459,3 +460,4 @@ run_test test_tag_create run_test test_tag_list run_test test_tag_list_lightweight run_test test_tag_create_ssh_signed +run_test test_tag_create_ssh_signed_missing_key