commit 81a197017a772a59ade02c19a033c0153b74d3b8 from: Christian Weisgerber date: Thu Mar 10 20:28:20 2022 UTC ref.sh: fix pastos and report the actual command that was run commit - 0e6ab4b2dda12fd56fa5ccb1cb3ff1aa12876891 commit + 81a197017a772a59ade02c19a033c0153b74d3b8 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