The sixth batch
[git/gitster.git] / t / chainlint / chain-break-return-exit.expect
blob4cd18e2edfc80a4bcb30ea409da0e6afac0d341b
1 case "$(git ls-files)" in
2 one) echo pass one ;;
3 *) echo bad one; return 1 ;;
4 esac &&
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 &&
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