Commit Diff


commit - ca7dfc7246a71d418d456bc820b33ecb5862d082
commit + f8d01951c19999cc7d089b363cf6ab4a25b887b9
blob - 02ac9f5c39831d35acbe6f1e5085754a83f77366
blob + f1eaa263ded2de0987d31ec852c1c021a68df9cc
--- regress/gotd/repo_read_access_denied.sh
+++ regress/gotd/repo_read_access_denied.sh
@@ -30,12 +30,11 @@ test_clone_basic_access_denied() {
 		test_done "$testroot" "1"
 		return 1
 	fi
-	grep -v ^gotsh: $testroot/stderr.raw > $testroot/stderr
+	grep ^got-fetch-pack: $testroot/stderr.raw > $testroot/stderr
 
 	# Verify that the clone operation failed.
 	echo 'got-fetch-pack: test-repo: Permission denied' \
 		> $testroot/stderr.expected
-	echo 'got: fetch failed' >> $testroot/stderr.expected
 	cmp -s $testroot/stderr.expected $testroot/stderr
 	ret=$?
 	if [ $ret -ne 0 ]; then