commit | 805d02c3d503754630a334772545c92c0a84628f | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Nov 13 20:20:44 2020 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Tue Nov 24 03:20:42 2020 +0100 |
tree | 2f6090a1d52157ee268282efd1cf7591067c2651 | |
parent | c331a3145f28eb3f62a9152e81838af9b0ce236d [diff] |
CI: build on Fedora 33 Also includes update to Netopeer2 which enables custom PID file Change-Id: I3eb92cc05069ba1a89411f8cc9540a6e1e9c26a7 Depends-on: https://cesnet-gerrit-czechlight/c/CzechLight/dependencies/+/3254/ Depends-on: https://cesnet-gerrit-public/c/CzechLight/dependencies/+/3254/ Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/3254/
diff --git a/tests/init_datastore.bash.in b/tests/init_datastore.bash.in index 2664a4b..a4ac0df 100755 --- a/tests/init_datastore.bash.in +++ b/tests/init_datastore.bash.in
@@ -42,8 +42,9 @@ # session and also forks, which means it becomes invisible to ctest. I want the name of the process to be # recognizable. For that `exec -a` can be used. Unfortunately `exec` is shell-builtin, so I need to run bash instead # of running `exec` directly. Finally, I redirect its stdout and stderr to a file. + NETOPEER_PIDFILE="@CMAKE_CURRENT_BINARY_DIR@/test_netopeer_files/$SYSREPO_SHM_PREFIX.pid" setsid -f \ - bash -c "exec -a '${SYSREPO_SHM_PREFIX}_netopeer2-server' '$NETOPEER2' -d -v2 '-U$NETOPEER_SOCKET'" \ + bash -c "exec -a '${SYSREPO_SHM_PREFIX}_netopeer2-server' '$NETOPEER2' -d -v2 '-U$NETOPEER_SOCKET' -p'$NETOPEER_PIDFILE'" \ < /dev/null &> "@CMAKE_CURRENT_BINARY_DIR@/test_netopeer_outputs/$SYSREPO_SHM_PREFIX.out" sleep 5 fi