Raw
1 2 grep "^ ! [rejected][ ]*$BRANCH -> $BRANCH (non-fast-forward)$" out &&
2 3
3 4 grep "^\.git$" output.txt &&
4 5
5 6
6 7 (
7 8 cd client$version &&
8 9 GIT_TEST_PROTOCOL_VERSION=$version git fetch-pack --no-progress .. $(cat ../input)
9 10 ) >output &&
10 11 cut -d ' ' -f 2 <output | sort >actual &&
11 12 test_cmp expect actual
12 13