From c2e9df309a5ddcd58bc7e02d09b4bbc32e6b0d6a Mon Sep 17 00:00:00 2001 From: andrejtonev <29177572+andrejtonev@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:28:13 +0100 Subject: [PATCH] Correctly call driver v1 tests (#1630) --- tests/drivers/run.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/drivers/run.sh b/tests/drivers/run.sh index d82b81ea9..ec99e410d 100755 --- a/tests/drivers/run.sh +++ b/tests/drivers/run.sh @@ -1,7 +1,7 @@ #!/bin/bash -# Old v1 tests -run_v1.sh +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd "$DIR" # New tests pushd () { command pushd "$@" > /dev/null; } @@ -15,8 +15,9 @@ function wait_for_server { sleep 1 } -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd "$DIR" +# Old v1 tests +tests_v1="$DIR/run_v1.sh" +$tests_v1 # Create a temporary directory. tmpdir=/tmp/memgraph_drivers