diff options
Diffstat (limited to 'tests/posix/ok_stdin.sh')
-rw-r--r-- | tests/posix/ok_stdin.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/posix/ok_stdin.sh b/tests/posix/ok_stdin.sh new file mode 100644 index 0000000..a190d81 --- /dev/null +++ b/tests/posix/ok_stdin.sh @@ -0,0 +1,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 {} \; |