]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/chain-break-return-exit.expect
Merge branch 'rs/parse-options-with-keep-unknown-abbrev-fix'
[thirdparty/git.git] / t / chainlint / chain-break-return-exit.expect
1 case "$(git ls-files)" in
2 one) echo pass one ;;
3 *) echo bad one; return 1 ;;
4 esac &&
5 (
6 case "$(git ls-files)" in
7 two) echo pass two ;;
8 *) echo bad two; exit 1 ;;
9 esac
10 ) &&
11 case "$(git ls-files)" in
12 dir/two"$LF"one) echo pass both ;;
13 *) echo bad; return 1 ;;
14 esac &&
15
16 for i in 1 2 3 4 ; do
17 git checkout main -b $i || return $?
18 test_commit $i $i $i tag$i || return $?
19 done