diff --git a/tests/server-regression.sh b/tests/server-regression.sh
index 9a150ca9e4df9892d4c1e9b93de5135781906c5a..2f8a7a8f4104818894e547151664b0ab508dd9a8 100755
--- a/tests/server-regression.sh
+++ b/tests/server-regression.sh
@@ -9,7 +9,7 @@ mkdir -p tests/data
 FILES=`sed -n 's/^[^#]*<Stream \(.*\)>.*/\1/p' $2 | grep -v html`
 
 rm -f tests/feed1.ffm
-./ffserver -d -f tests/test.conf 2> /dev/null &
+./ffserver -d -f "$2" 2> /dev/null &
 FFSERVER_PID=$!
 echo "Waiting for feeds to startup..."
 sleep 2