]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4105-apply-fuzz.sh
Merge branch 'en/fetch-negotiation-default-fix'
[thirdparty/git.git] / t / t4105-apply-fuzz.sh
index 76e2c01b0f5a083f605e8493aaa1068f73b30023..ed814a839e679d4b394cd88729da8921e0a19b14 100755 (executable)
@@ -17,15 +17,9 @@ dotest () {
 
 test_expect_success setup '
 
-       for i in 1 2 3 4 5 6 7 8 9 10 11 12
-       do
-               echo $i
-       done >file &&
+       test_write_lines 1 2 3 4 5 6 7 8 9 10 11 12 >file &&
        git update-index --add file &&
-       for i in 1 2 3 4 5 6 7 a b c d e 8 9 10 11 12
-       do
-               echo $i
-       done >file &&
+       test_write_lines 1 2 3 4 5 6 7 a b c d e 8 9 10 11 12 >file &&
        cat file >expect &&
        git diff >O0.diff &&