The sixth batch
[git/gitster.git] / t / chainlint / one-liner-for-loop.test
blob4bd8c066c799639ba3dcbfb844a90df1fa88fd2e
1 git init dir-rename-and-content &&
3         cd dir-rename-and-content &&
4         test_write_lines 1 2 3 4 5 >foo &&
5         mkdir olddir &&
6 # LINT: one-liner for-loop missing "|| exit"; also broken &&-chain
7         for i in a b c; do echo $i >olddir/$i; done
8         git add foo olddir &&
9         git commit -m "original" &&