home/test/regression/3398-readonly-fifo-failure/rc
Maxime Coste 31caae20eb Allow reading from fifo in readonly buffers
readonly is supposed to prevent the user from modifying the buffer
and it can be useful to generate a readonly fifo buffer.

Fixes #3398
2020-03-14 12:58:22 +11:00

3 lines
123 B
Plaintext

nop %sh{ mkfifo test-fifo; ( printf 'blah' > test-fifo ) </dev/null >/dev/null 2>&1 & }
edit -readonly -fifo test-fifo out