Subject: bug#18500: shuf-reservoir from coreutils 8.22 failing on s390x

From: Bernhard Voelker <[email-masked]>
Date: Fri, 19 Sep 2014 13:41:53 +0200

On 09/19/2014 12:46 PM, Philipp Thomas wrote:
> * Bernhard Voelker ([email-masked]) [20140919 10:36]:
>> @Philipp: can you confirm please? I don't have access to
>> such a s390x machine ...
>
> Nope,
>
> running ls -l | shuf -n 5
>
> succeeds as it should,

Huh? That means that in that test
* valgrind runs shuf
* shuf creates the output file
* but shuf does not write anything to that output file.

And that in turn means that valgrind is modifying the
shuf(1) run so that it only halfway works.
Am I right so far?

Have a nice day,
Berny