commit - 4682a4a03650cce147a8cb9e501ce1cdd193b00d
commit + 3a76741959b24e02b76fdd973c68b782d2f4510d
blob - cbb7c12856b31d06f88b3a9e169bb1eb0d762373
blob + 98eef7348d3242c252d242a54effa1943637ea17
--- regress/cmdline/cherrypick.sh
+++ regress/cmdline/cherrypick.sh
(cd $testroot/wt && got commit -m 'commit cherrypick result' \
> /dev/null 2>$testroot/stderr)
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "got commit succeeded unexpectedly" >&2
test_done "$testroot" "$ret"
return 1
blob - 4761c1d807aa6e3b17fe877f1423d26a8f7465b2
blob + 2aef61f4e2a2ec8d4c92bb07e6e29b15278a71d9
--- regress/cmdline/diff.sh
+++ regress/cmdline/diff.sh
# -P can only be used in a work tree
got diff -r $testroot/repo -P new master 2> $testroot/stderr
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "diff succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1
(cd $testroot/repo && got diff -c $commit_id0 -c $commit_id1 -c foo \
2> $testroot/stderr)
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "diff succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1
(cd $testroot/wt && got diff -c $commit_id0 -c $commit_id1 -P foo \
2> $testroot/stderr)
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "diff succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1
(cd $testroot/wt && got diff -c $commit_id0 -c $commit_id1 -s foo \
2> $testroot/stderr)
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "diff succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1
(cd $testroot/repo && got diff $commit_id0 $commit_id1 foo \
2> $testroot/stderr)
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "diff succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1
(cd $testroot/wt && got diff $commit_id0 master foo \
2> $testroot/stderr)
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "diff succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1