Commit Diff


commit - 8991a328535f89f3f2257269f5c2d3fcec8bda69
commit + 3379373c62efb02a719d4b6e040189f348470f0a
blob - b403a1396b48b2fdd75dda910d436150bee4efbb
blob + d950aa95587abfc3c97d43aa360191d8fd9fc808
--- regress/cmdline/cleanup.sh
+++ regress/cmdline/cleanup.sh
@@ -247,7 +247,7 @@ test_cleanup_precious_objects() {
 	gotadmin cleanup -a -q -r $testroot/repo > $testroot/stdout \
 		2> $testroot/stderr
 	ret="$?"
-	if [ "$ret" == "0" ]; then
+	if [ "$ret" = "0" ]; then
 		echo "gotadmin cleanup succeeded unexpectedly" >&2
 		test_done "$testroot" "1"
 		return 1
@@ -297,7 +297,7 @@ test_cleanup_missing_pack_file() {
 	gotadmin cleanup -a -q -r $testroot/repo > $testroot/stdout \
 		2> $testroot/stderr
 	ret="$?"
-	if [ "$ret" == "0" ]; then
+	if [ "$ret" = "0" ]; then
 		echo "gotadmin cleanup succeeded unexpectedly" >&2
 		test_done "$testroot" "1"
 		return 1
blob - c0be768af618f9a9416b82e0725d11644762ee9b
blob + 2e47e88822a9bd8fc8b102ab03348302fe334aa7
--- regress/cmdline/fetch.sh
+++ regress/cmdline/fetch.sh
@@ -1128,7 +1128,7 @@ test_fetch_delete_remote_refs() {
 	got fetch -q -r $testroot/repo-clone -X > $testroot/stdout \
 		2> $testroot/stderr
 	ret="$?"
-	if [ "$ret" == "0" ]; then
+	if [ "$ret" = "0" ]; then
 		echo "got fetch command succeeded unexpectedly" >&2
 		test_done "$testroot" "$ret"
 		return 1