test-copy: never call alloca() in a loop
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 12:25:52 +0000 (14:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 12:28:04 +0000 (14:28 +0200)
commit2397bc4312f6d1fbdf97bf826a1ca6ad409aabf3
tree17a41ea1d7e3b2f218cfc203848fdc2bbcde6553
parent0e2b2caccde55ba777b84d667d19541a82c3f3a3
test-copy: never call alloca() in a loop

That's a total no-no, hence rework this to use malloc()-based memory instead of
alloca()-based memory.

Also see CODING_STYLE about this.
src/test/test-copy.c