ref.sh: fix pastos and report the actual command that was run
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
diff --git a/regress/cmdline/ref.sh b/regress/cmdline/ref.sh
index 028eda5..10a8438 100755
--- a/regress/cmdline/ref.sh
+++ b/regress/cmdline/ref.sh
@@ -93,7 +93,7 @@ test_ref_create() {
2> $testroot/stderr)
ret="$?"
if [ "$ret" = "0" ]; then
- echo "git ref command succeeded unexpectedly"
+ echo "got ref command succeeded unexpectedly"
test_done "$testroot" "1"
return 1
fi
@@ -111,7 +111,7 @@ test_ref_create() {
(cd $testroot/wt && got ref -c $commit_id 2> $testroot/stderr)
ret="$?"
if [ "$ret" = "0" ]; then
- echo "git ref command succeeded unexpectedly"
+ echo "got ref command succeeded unexpectedly"
test_done "$testroot" "1"
return 1
fi
@@ -130,7 +130,7 @@ test_ref_create() {
2> $testroot/stderr)
ret="$?"
if [ "$ret" = "0" ]; then
- echo "git ref command succeeded unexpectedly"
+ echo "got ref command succeeded unexpectedly"
test_done "$testroot" "1"
return 1
fi
@@ -166,7 +166,7 @@ test_ref_create() {
(cd $testroot/wt && got update -b HEAD >/dev/null)
ret="$?"
if [ "$ret" != "0" ]; then
- echo "got checkout command failed unexpectedly"
+ echo "got update command failed unexpectedly"
test_done "$testroot" "$ret"
return 1
fi