1 # LINT: regex dollar-sign eol anchor in double-quoted string not special
2 grep "^ ! \[rejected\][ ]*$BRANCH -> $BRANCH (non-fast-forward)$" out &&
4 # LINT: escaped "$" not mistaken for variable expansion
5 grep "^\\.git\$" output.txt &&
10 # LINT: escaped dollar-sign in double-quoted test body
11 GIT_TEST_PROTOCOL_VERSION=$version git fetch-pack --no-progress .. \$(cat ../input)
13 cut -d ' ' -f 2 <output | sort >actual &&
14 test_cmp expect actual