]> git.99rst.org Git - git.git/commitdiff
t1092: replace incorrect 'echo' with 'cat'
authorDerrick Stolee <redacted>
Wed, 14 Jul 2021 13:12:27 +0000 (13:12 +0000)
committerJunio C Hamano <redacted>
Wed, 14 Jul 2021 20:42:21 +0000 (13:42 -0700)
This fixes the test data shape to be as expected, allowing rename
detection to work properly now that the 'larger-content' file actually
has meaningful lines.

Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1092-sparse-checkout-compatibility.sh

index ba2fd94adaf0f59deac4ce06a45e89e0b52ecba1..ebbba044f77f79ee026ef83a088c0b8b64910091 100755 (executable)
@@ -40,7 +40,7 @@ test_expect_success 'setup' '
                done &&
 
                git checkout -b rename-base base &&
-               echo >folder1/larger-content <<-\EOF &&
+               cat >folder1/larger-content <<-\EOF &&
                matching
                lines
                help
git clone https://git.99rst.org/PROJECT