# -*- perl -*- use strict; use warnings; use tests::tests; check_expected (IGNORE_KERNEL_FAULTS => 1, [<<'EOF']); (read-bad-buf) begin (read-bad-buf) open "sample.txt" read-bad-buf: exit(-1) EOF pass;