Commit 41806587196ab5f410de18aee2567cac7deb5d6b

Stefan Sperling 2020-07-23T14:22:41

fix missing 'return 1' in commit.sh test failure cases

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/regress/cmdline/checkout.sh b/regress/cmdline/checkout.sh
index b0bd8db..2ca82b6 100755
--- a/regress/cmdline/checkout.sh
+++ b/regress/cmdline/checkout.sh
@@ -628,6 +628,7 @@ function test_checkout_symlink {
 	if [ "$ret" != "0" ]; then
 		diff -u $testroot/stdout.expected $testroot/stdout
 		test_done "$testroot" "$ret"
+		return 1
 	fi
 
 	if [ -h $testroot/wt/dotgotfoo.link ]; then
@@ -734,6 +735,7 @@ function test_checkout_symlink_relative_wtpath {
 	if [ "$ret" != "0" ]; then
 		diff -u $testroot/stdout.expected $testroot/stdout
 		test_done "$testroot" "$ret"
+		return 1
 	fi
 
 	if [ -h $testroot/wt/dotgotfoo.link ]; then