summaryrefslogtreecommitdiffstats
path: root/tests/profile/test-eval.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-26 18:05:42 +0000
commit112b5b91647c3dea45cc1c9bc364df526c8012f1 (patch)
tree450af925135ec664c4310a1eb28b69481094ee2a /tests/profile/test-eval.c
parentReleasing debian version 1.32.1-2. (diff)
downloadnetdata-112b5b91647c3dea45cc1c9bc364df526c8012f1.tar.xz
netdata-112b5b91647c3dea45cc1c9bc364df526c8012f1.zip
Merging upstream version 1.33.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/profile/test-eval.c')
-rw-r--r--tests/profile/test-eval.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/profile/test-eval.c b/tests/profile/test-eval.c
index 1c23063bb..b0c3b1af0 100644
--- a/tests/profile/test-eval.c
+++ b/tests/profile/test-eval.c
@@ -9,10 +9,9 @@
#include "config.h"
#include "libnetdata/libnetdata.h"
+#include "libnetdata/required_dummies.h"
#include "database/rrdcalc.h"
-void netdata_cleanup_and_exit(int ret) { exit(ret); }
-
/*
void indent(int level, int show) {
int i = level;
@@ -261,15 +260,6 @@ void print_expression(EVAL_NODE *op, const char *failed_at, int error) {
}
*/
-int health_variable_lookup(const char *variable, uint32_t hash, RRDCALC *rc, calculated_number *result) {
- (void)variable;
- (void)hash;
- (void)rc;
- (void)result;
-
- return 0;
-}
-
int main(int argc, char **argv) {
if(argc != 2) {
fprintf(stderr, "I need an expression (enclose it in single-quotes (') as a single parameter)\n");