aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-11 22:59:05 +0500
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-11 23:00:33 +0500
commit017e8cb048305fda338863caa588a6019ef470f6 (patch)
treed5dea6849858bb474e35ad9672567d7a8119a2be
parentserver.py: minor refactoring (diff)
downloadlinux-status-017e8cb048305fda338863caa588a6019ef470f6.tar.gz
linux-status-017e8cb048305fda338863caa588a6019ef470f6.zip
test/test.sh: use the port variable
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 77a15e2..1662eed 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -27,7 +27,7 @@ dump() {
run_server() {
dump "Starting up server..."
- "$script_dir/../server.py" --port 18101 &
+ "$script_dir/../server.py" --port "$server_port" &
server_pid="$!"
dump "Its PID is $server_pid"
sleep 5