X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/06848faba60e1c4e637b15b608e5bd94989c4196..fb920a5f7e072e615e3ec77077232132f9a4f46e:/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 \