summaryrefslogtreecommitdiff
path: root/test/exitval1.awk
blob: 550200d2cec9663d7c2c231f345fd56383be82ec (plain)
1
2
3
# This should exit 0, even though child exits 1
BEGIN { "exit 1" | getline junk ; exit 12 }
END { exit 0 }