interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / chainlint / nested-loop-detect-failure.expect

31 lines · 661 bytes Raw Blame History
12 for i in 0 1 2 3 4 5 6 7 8 9;
23 do
34 for j in 0 1 2 3 4 5 6 7 8 9;
45 do
56 echo "$i$j" >"path$i$j" ?!LINT: missing '|| return 1'?!
67 done ?!LINT: missing '|| return 1'?!
78 done &&
89
910 for i in 0 1 2 3 4 5 6 7 8 9;
1011 do
1112 for j in 0 1 2 3 4 5 6 7 8 9;
1213 do
1314 echo "$i$j" >"path$i$j" || return 1
1415 done
1516 done &&
1617
1718 for i in 0 1 2 3 4 5 6 7 8 9;
1819 do
1920 for j in 0 1 2 3 4 5 6 7 8 9;
2021 do
2122 echo "$i$j" >"path$i$j" ?!LINT: missing '|| return 1'?!
2223 done || return 1
2324 done &&
2425
2526 for i in 0 1 2 3 4 5 6 7 8 9;
2627 do
2728 for j in 0 1 2 3 4 5 6 7 8 9;
2829 do
2930 echo "$i$j" >"path$i$j" || return 1
3031 done || return 1
3132 done