diff --git a/test/issue884-init-defer-file-creation.sh b/test/issue884-init-defer-file-creation.sh index 013842c..7ffab21 100755 --- a/test/issue884-init-defer-file-creation.sh +++ b/test/issue884-init-defer-file-creation.sh @@ -9,8 +9,11 @@ cd ${TMPDIR} # kill dub init during interactive mode -${DUB} init <(while :; do sleep 1; done) & +mkfifo in +${DUB} init < in & +sleep 1 kill $! +rm in # ensure that no files are left behind NFILES_PLUS_ONE=`ls -la | wc -l`