Commit Diff


commit - 3665fce011b5177f15b56dfc5d98f90e0ab59803
commit + 4da1bbe9cccd432c3afb675e07eedc58bc12ae31
blob - abba81a65d3c964e736faa7f7c27c92fd429bb1f
blob + 68a5558798cac114d8be26ae680a0efced072896
--- regress/cmdline/checkout.sh
+++ regress/cmdline/checkout.sh
@@ -489,7 +489,7 @@ function test_checkout_into_nonempty_dir {
 	if [ "$ret" != "0" ]; then
 		diff -u $testroot/content.expected $testroot/content
 		test_done "$testroot" "$ret"
-		return
+		return 1
 	fi
 
 	echo 'M  alpha' > $testroot/stdout.expected