X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/6aff55e93e9814621dd7b8623e18036b540bda1a..89f647446f996f7846cbc56526451bf61a1a940c:/t/t2000-sync.sh diff --git a/t/t2000-sync.sh b/t/t2000-sync.sh index 3dd1cd6..02345bb 100755 --- a/t/t2000-sync.sh +++ b/t/t2000-sync.sh @@ -47,7 +47,7 @@ test_expect_success \ ' stg sync -b master p2 && test $(stg applied -c) -eq 3 && - test $(cat foo2.txt) == "foo2" + test $(cat foo2.txt) = "foo2" ' test_expect_success \ @@ -55,8 +55,8 @@ test_expect_success \ ' stg sync -b master -a && test $(stg applied -c) -eq 3 && - test $(cat foo1.txt) == "foo1" && - test $(cat foo2.txt) == "foo2" + test $(cat foo1.txt) = "foo1" && + test $(cat foo2.txt) = "foo2" ' test_expect_success \ @@ -64,9 +64,9 @@ test_expect_success \ ' stg sync -s patches-master/series -a && test $(stg applied -c) -eq 3 && - test $(cat foo1.txt) == "foo1" && - test $(cat foo2.txt) == "foo2" && - test $(cat foo3.txt) == "foo3" + test $(cat foo1.txt) = "foo1" && + test $(cat foo2.txt) = "foo2" && + test $(cat foo3.txt) = "foo3" ' test_expect_success \ @@ -92,7 +92,7 @@ test_expect_success \ ' stg sync -b master p2 && test $(stg applied -c) -eq 3 && - test $(cat bar2.txt) == "bar2" + test $(cat bar2.txt) = "bar2" ' test_expect_failure \