summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/lifecycle.bats2
-rwxr-xr-xtests/updater_checks.bats3
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/lifecycle.bats b/tests/lifecycle.bats
index 4d18115bea..728c570e3d 100755
--- a/tests/lifecycle.bats
+++ b/tests/lifecycle.bats
@@ -50,7 +50,7 @@ setup() {
@test "update netdata" {
export ENVIRONMENT_FILE="${ENV}"
- /etc/cron.daily/netdata-updater
+ ${INSTALLATION}/netdata/usr/libexec/netdata/netdata-updater.sh --not-running-from-cron
! grep "new_installation" "${ENV}"
}
diff --git a/tests/updater_checks.bats b/tests/updater_checks.bats
index 6444c081cc..930cea990b 100755
--- a/tests/updater_checks.bats
+++ b/tests/updater_checks.bats
@@ -54,9 +54,8 @@ setup() {
@test "update netdata using the new updater" {
export ENVIRONMENT_FILE="${ENV}"
# Run the updater, with the override so that it uses the local repo we have at hand
- # Try to run the installed, if any, otherwise just run the one from the repo
export NETDATA_LOCAL_TARBAL_OVERRIDE="${PWD}"
- /etc/cron.daily/netdata-updater || ./packaging/installer/netdata-updater.sh
+ ${INSTALLATION}/netdata/usr/libexec/netdata/netdata-updater.sh --not-running-from-cron
! grep "new_installation" "${ENV}"
}