We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36defe1 commit 0ec7effCopy full SHA for 0ec7eff
src/script/test.sh
@@ -2,17 +2,19 @@
2
set -euo pipefail
3
IFS=$'\n\t'
4
5
+influxdb_version=1.7.6
6
+
7
# first parameter to the test script (directory with the test binaries) is mandatory
8
echo "running tests from $1"
9
pkill influxd || true
-./influxdb-1.7.6-1/usr/bin/influxd &
10
+./influxdb-${influxdb_version}-1/usr/bin/influxd &
11
sleep 3
12
$1/test-influxdb-cpp-rest -d yes
13
export LD_LIBRARY_PATH=$1
14
$1/test-influxdb-c-rest -d yes
15
pkill influxd
16
-./influxdb-1.2.4-1/usr/bin/influxd -config src/auth_test/influxdb.conf &
17
+./influxdb-${influxdb_version}-1/usr/bin/influxd -config src/auth_test/influxdb.conf &
18
19
$1/test-influxdb-cpp-auth -d yes
20
0 commit comments