commit c33dcdf16b96070979727a3aa0662fc70be252a0 from: Christian Weisgerber via: Thomas Adam date: Thu Mar 10 21:00:58 2022 UTC ref.sh: fix pastos and report the actual command that was run commit - 70e6418ec50331f61e1c705e3c73a659b496bcdd commit + c33dcdf16b96070979727a3aa0662fc70be252a0 blob - 028eda58e7cab9cf077122c67e7736ce74a560b0 blob + 10a8438410f2c35df7e8078209395627a43d2cb8 --- regress/cmdline/ref.sh +++ 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