From b771822c7d1291ce015b58336c9d48f539e56856 Mon Sep 17 00:00:00 2001 From: beac0n Date: Sun, 20 Oct 2024 10:09:07 +0200 Subject: [PATCH] fix end to end tests --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 02c5ef7..6eb469a 100644 --- a/Makefile +++ b/Makefile @@ -58,11 +58,11 @@ install_server: release test_end_to_end: clean_test_end_to_end build sudo useradd --system ruroco --shell /bin/false || true - ./target/debug/client gen -k 4096 -r ruroco_private.pem -u ruroco_public.pem + ./target/x86_64-unknown-linux-gnu/debug/client gen -k 4096 -r ruroco_private.pem -u ruroco_public.pem mkdir /tmp/ruroco_test - cp ./target/debug/server /tmp/ruroco_test/server - cp ./target/debug/commander /tmp/ruroco_test/commander + cp ./target/x86_64-unknown-linux-gnu/debug/server /tmp/ruroco_test/server + cp ./target/x86_64-unknown-linux-gnu/debug/commander /tmp/ruroco_test/commander mv ./ruroco_private.pem /tmp/ruroco_test @@ -83,7 +83,7 @@ test_end_to_end: clean_test_end_to_end build sudo systemctl start ruroco-commander.service sudo systemctl start ruroco.service - ./target/debug/client send -a 127.0.0.1:80 -p /tmp/ruroco_test/ruroco_private.pem + ./target/x86_64-unknown-linux-gnu/debug/client send -a 127.0.0.1:80 -p /tmp/ruroco_test/ruroco_private.pem sleep 2