mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-24 07:16:43 +00:00
Fix msp tests to use unused file descriptor
This commit is contained in:
parent
abdb6867cd
commit
2f57fe3a47
@ -24,13 +24,13 @@ source "${0%/*}/../testdefs.sh"
|
||||
|
||||
_simulator() {
|
||||
# TODO timeout & failure reporting?
|
||||
"$servald_build_root/simulator" <&8 >$SIM_OUT
|
||||
"$servald_build_root/simulator" <&9 >$SIM_OUT
|
||||
}
|
||||
start_simulator() {
|
||||
SIM_IN="$PWD/SIM_IN"
|
||||
SIM_OUT="$PWD/SIM_OUT"
|
||||
mkfifo "$SIM_IN"
|
||||
exec 8<>"$SIM_IN"
|
||||
exec 9<>"$SIM_IN"
|
||||
fork %simulator _simulator
|
||||
}
|
||||
simulator_command() {
|
||||
|
Loading…
Reference in New Issue
Block a user