Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix(ci): fix shellcheck failure

Gabe Kangase93e3154c401
diff --git a/test/automated/activitypub/test-featured-streams.sh b/test/automated/activitypub/test-featured-streams.sh
index 84ceb0ac94..1be7ccff6a 100755
--- a/test/automated/activitypub/test-featured-streams.sh
+++ b/test/automated/activitypub/test-featured-streams.sh
@@ -492,12 +492,13 @@ main() {
echo "----------------------------------------"
build_owncast
- # OC1_PID/OC2_PID are read indirectly in cleanup() via ${!pid_var}.
- # shellcheck disable=SC2034
+ # OC1_PID/OC2_PID are read indirectly in cleanup() via ${!pid_var},
+ # which shellcheck cannot trace, hence the SC2034 suppressions.
start_owncast_instance "owncast1" "${OWNCAST_PORT}" "${OWNCAST_RTMP_PORT}"
- OC1_PID="${OC_LAST_PID}"
# shellcheck disable=SC2034
+ OC1_PID="${OC_LAST_PID}"
start_owncast_instance "owncast2" "${OWNCAST2_PORT}" "${OWNCAST2_RTMP_PORT}"
+ # shellcheck disable=SC2034
OC2_PID="${OC_LAST_PID}"
configure_owncast "${OWNCAST_PORT}" "${OWNCAST_URL}" "${OWNCAST_FED_USERNAME}"