Skip to content

Commit 354464d

Browse files
authored
gtest_dlt_daemon_gateway: dlt-daemon run without dlt_passive.conf file (#487)
- dlt-daemon cannot open dlt_passive.conf file because there is no this file in gtest_dlt_daemon_gateway.sh - Should run dlt-daemon under darmonize mode Signed-off-by: Le Tin <[email protected]>
1 parent 6aa89c7 commit 354464d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/gtest_dlt_daemon_gateway.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ startDaemons()
186186
{
187187
DLT_PASSIVE_SHM_NAME=""
188188
tmpPath=/tmp
189-
dlt-daemon -c $tmpPath/dlt_passive.conf &
189+
dlt-daemon -d
190190
sleep 1
191191

192192
# Check if the dlt shm file exist (DLT_SHM_ENABLE=ON)
193193
if [ -f /dev/shm/dlt-shm ]; then
194194
DLT_PASSIVE_SHM_NAME="-s dlt-shm-passive"
195195
fi
196196

197-
dlt-daemon -p 3495 -c $tmpPath/dlt.conf $DLT_PASSIVE_SHM_NAME &
197+
dlt-daemon -d -p 3495 -c $tmpPath/dlt.conf $DLT_PASSIVE_SHM_NAME
198198
return 0
199199
}
200200

0 commit comments

Comments
 (0)