summaryrefslogtreecommitdiffstats
path: root/tests/posix/ok_stdin.sh
blob: a190d8133afa02f1b77a6536daf25e3eaa63da37 (plain)
1
2
3
# -ok should *not* close stdin
# See https://savannah.gnu.org/bugs/?24561
yes | bfs_diff basic -ok bash -c 'printf "%s? " "$1" && head -n1' bash {} \;