Correctly call driver v1 tests (#1630)

This commit is contained in:
andrejtonev
2024-02-26 18:28:13 +01:00
committed by GitHub
parent 82c47ee80d
commit c2e9df309a

View File

@@ -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