From b2e56777af3b1dc892dd4a6a932f2c28ced90ad9 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 27 May 2024 22:40:51 +0000 Subject: [PATCH] fix missing toolchain in cargo smoketest run invocation. Signed-off-by: Jason Volk --- tests/cargo_smoke.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cargo_smoke.sh b/tests/cargo_smoke.sh index 6971f560..e0eb3ad3 100755 --- a/tests/cargo_smoke.sh +++ b/tests/cargo_smoke.sh @@ -20,7 +20,7 @@ conduwuit () { UWU_OPTS=$@ rm -rf /tmp/uwu_smoketest.db echo -e "[global]\nserver_name = \"localhost\"\ndatabase_path = \"/tmp/uwu_smoketest.db\"" > /tmp/uwu_smoketest.toml - cargo run $UWU_OPTS -- -c /tmp/uwu_smoketest.toml & + cargo $UWU_OPTS -- -c /tmp/uwu_smoketest.toml & sleep 15s kill -QUIT %1 wait %1 @@ -37,7 +37,7 @@ element () { run cargo "$TOOLCHAIN" test $ELEMENT_OPTS --all-targets run cargo "$TOOLCHAIN" bench $ELEMENT_OPTS --all-targets run cargo "$TOOLCHAIN" run $ELEMENT_OPTS --bin conduit -- -V - run conduwuit $ELEMENT_OPTS --bin conduit + run conduwuit "$TOOLCHAIN" run $ELEMENT_OPTS --bin conduit fi }