Re: [PATCH 03/10] pack-objects: test for --partial-by-size --partial-special

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]