Commit Diff


commit - 60cf507132c154811cbfda9500ad13d24c6edd88
commit + 561555dbccb5019213320401bdae3dfe5c863c46
blob - 9c5092424f626fb5400194dd364dc0ce76e82897
blob + 946e4ac9a5ded85347469ff755205443b98ffeec
--- regress/cmdline/tag.sh
+++ regress/cmdline/tag.sh
@@ -364,32 +364,7 @@ test_tag_create_ssh_signed() {
 	ret=$?
 	if [ $ret -ne 0 ]; then
 		echo "got checkout command failed unexpectedly"
-		test_done "$testroot" "$ret"
-		return 1
 	fi
-
-	# Create another signed tag with a SHA1 commit ID
-	got tag -s $testroot/id_ed25519 -m 'test' -r $testroot/repo \
-		-c $commit_id $tag2 > $testroot/stdout
-
-	# got tag -V behaves like got tag -l, but with verification enabled.
-	got tag -l -r $testroot/repo > $testroot/stdout.list
-	got tag -V -r $testroot/repo > $testroot/stdout.verify
-	diff -U0 $testroot/stdout.list $testroot/stdout.verify |
-	    sed -e '/^--- /d' -e '/^+++ /d' > $testroot/stdout
-	echo "@@ -5,0 +6 @@" > $testroot/stdout.expected
-	echo -n "+signature: $GOOD_SIG" >> $testroot/stdout.expected
-	ssh-keygen -l -f $testroot/id_ed25519.pub | cut -d' ' -f 2 \
-		>> $testroot/stdout.expected
-	echo "@@ -19,0 +21 @@" >> $testroot/stdout.expected
-	echo -n "+signature: $GOOD_SIG" >> $testroot/stdout.expected
-	ssh-keygen -l -f $testroot/id_ed25519.pub | cut -d' ' -f 2 \
-		>> $testroot/stdout.expected
-	cmp -s $testroot/stdout $testroot/stdout.expected
-	ret=$?
-	if [ $ret -ne 0 ]; then
-		diff -u $testroot/stdout.expected $testroot/stdout
-	fi
 	test_done "$testroot" "$ret"
 }