Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/interop/i0000-basic.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / interop / i0000-basic.sh` 27 lines ยท 614 bytes Raw Blame History 1 #!/bin/sh 2 3 # Note that this test only works on real version numbers, 4 # as it depends on matching the output to "git version". 5 VERSION_A=v1.6.6.3 6 VERSION_B=v2.11.1 7 8 test_description='sanity test interop library' 9 . ./interop-lib.sh 10 11 test_expect_success 'bare git is forbidden' ' 12 test_must_fail git version 13 ' 14 15 test_expect_success "git.a version ($VERSION_A)" ' 16 echo git version ${VERSION_A#v} >expect && 17 git.a version >actual && 18 test_cmp expect actual 19 ' 20 21 test_expect_success "git.b version ($VERSION_B)" ' 22 echo git version ${VERSION_B#v} >expect && 23 git.b version >actual && 24 test_cmp expect actual 25 ' 26 27 test_done