Code

t4126: fix test that happened to work due to timing
[git.git] / t / t4126-apply-empty.sh
index 0cfd47cfcff31fddfb9470654367a8f1ac261bfd..ceb6a79fe0c8ca5b26a9e148215556f2aa344eb9 100755 (executable)
@@ -26,7 +26,6 @@ test_expect_success setup '
 
 test_expect_success 'apply empty' '
        git reset --hard &&
-       >empty &&
        rm -f missing &&
        git apply patch0 &&
        test_cmp expect empty
@@ -34,7 +33,6 @@ test_expect_success 'apply empty' '
 
 test_expect_success 'apply --index empty' '
        git reset --hard &&
-       >empty &&
        rm -f missing &&
        git apply --index patch0 &&
        test_cmp expect empty &&
@@ -43,7 +41,6 @@ test_expect_success 'apply --index empty' '
 
 test_expect_success 'apply create' '
        git reset --hard &&
-       >empty &&
        rm -f missing &&
        git apply patch1 &&
        test_cmp expect missing
@@ -51,7 +48,6 @@ test_expect_success 'apply create' '
 
 test_expect_success 'apply --index create' '
        git reset --hard &&
-       >empty &&
        rm -f missing &&
        git apply --index patch1 &&
        test_cmp expect missing &&