Re: [PATCH 03/10] pack-objects: test for --partial-by-size --partial-special
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Mar 9, 2017, 18:11 UTC
- Message-ID
- <afd40132-ef85-1713-e3ab-f6bef6b30646@kdbg.org>
- In-Reply-To
- <1488994685-37403-4-git-send-email-jeffhost@microsoft.com>
Am 08.03.2017 um 18:37 schrieb Jeff Hostetler:
> +test_expect_success 'setup' ' > + perl -e "print \"a\" x 11;" > a && > + perl -e "print \"a\" x 1100;" > b && > + perl -e "print \"a\" x 1100000;" > c &&
If the file contents do not matter, you can have the same without perl like this:
printf "%011d" 0 >a && printf "%01100d" 0 >b && printf "%01100000d" 0 >c &&
-- Hannes