1 2 3 4 5 6 7 8 9 10 11 12 13
# -*- perl -*- use strict; use warnings; use tests::tests; check_expected ([<<'EOF', <<'EOF']); (read-stdout) begin (read-stdout) end read-stdout: exit(0) EOF (read-stdout) begin read-stdout: exit(-1) EOF pass;