{ open local(LOG), '>>', '/dev/full' or die $!; # /dev/full is a Linux thing # call the test }