aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-11 01:28:09 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-11 01:28:09 +0200
commit8baa2bf421503b1ac6cb5d16a2ad0a46311ff547 (patch)
treeb86043b3b3730f9da9c70d7c237d0396e8b5a580 /test
parentput things into proper directories (diff)
downloadlinux-status-8baa2bf421503b1ac6cb5d16a2ad0a46311ff547.tar.gz
linux-status-8baa2bf421503b1ac6cb5d16a2ad0a46311ff547.zip
test: fix paths
Diffstat (limited to '')
-rwxr-xr-xtest/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index 1c2ce66..8597a24 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 "$server_port" &
+ "$script_dir/../src/server.py" --port "$server_port" &
server_pid="$!"
dump "Its PID is $server_pid"
sleep 5
@@ -172,7 +172,7 @@ run_cgi_test() {
local query_string="what=$what"
dump "Running CGI test for query string: $query_string"
- QUERY_STRING="$query_string" "$script_dir/../app.py" > "$curl_output_file"
+ QUERY_STRING="$query_string" "$script_dir/../src/app.py" > "$curl_output_file"
cgi_check_header