sh: Add more tests for the </dev/null implicit in a background command.
This commit is contained in:
parent
702701714b
commit
82baac5777
5
tools/regression/bin/sh/execution/bg7.0
Normal file
5
tools/regression/bin/sh/execution/bg7.0
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
# The redirection does not apply to the background command, and therefore
|
||||
# does not override the implicit </dev/null.
|
||||
|
||||
echo bad | ${SH} -c '</dev/null; { cat & wait; }'
|
5
tools/regression/bin/sh/execution/bg8.0
Normal file
5
tools/regression/bin/sh/execution/bg8.0
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
# The redirection does not apply to the background command, and therefore
|
||||
# does not override the implicit </dev/null.
|
||||
|
||||
echo bad | ${SH} -c 'command eval \) </dev/null 2>/dev/null; { cat & wait; }'
|
5
tools/regression/bin/sh/execution/bg9.0
Normal file
5
tools/regression/bin/sh/execution/bg9.0
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
# The redirection does not apply to the background command, and therefore
|
||||
# does not override the implicit </dev/null.
|
||||
|
||||
echo bad | ${SH} -c 'command eval eval \\\) \</dev/null 2>/dev/null; { cat & wait; }'
|
Loading…
x
Reference in New Issue
Block a user