X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/262d31dcab5f51e7da41086c94f0eecaee060a74..9979bb8433f887c394e7e5b328d387479997ffd7:/t/t0001-subdir-branches.sh diff --git a/t/t0001-subdir-branches.sh b/t/t0001-subdir-branches.sh index 1685233..0eed3a4 100755 --- a/t/t0001-subdir-branches.sh +++ b/t/t0001-subdir-branches.sh @@ -38,10 +38,11 @@ test_expect_success 'Try new form of id with slashy branch' \ stg id foo@x/y/z && stg id foo@x/y/z//top' -test_expect_failure 'Try old id with slashy branch' \ - 'stg id foo/ || - stg id foo/top || - stg id foo@x/y/z/top' +test_expect_success 'Try old id with slashy branch' ' + ! stg id foo/ && + ! stg id foo/top && + ! stg id foo@x/y/z/top + ' test_expect_success 'Create patch in slashy branch' \ 'echo "bar" >> foo.txt &&