summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/monkey/qa/__MACROS
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /fluent-bit/lib/monkey/qa/__MACROS
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/monkey/qa/__MACROS')
-rw-r--r--fluent-bit/lib/monkey/qa/__MACROS51
1 files changed, 0 insertions, 51 deletions
diff --git a/fluent-bit/lib/monkey/qa/__MACROS b/fluent-bit/lib/monkey/qa/__MACROS
deleted file mode 100644
index 5e0352fef..000000000
--- a/fluent-bit/lib/monkey/qa/__MACROS
+++ /dev/null
@@ -1,51 +0,0 @@
-# ----------------------------------------------------------------------------
-# INIT: Common client-initialization
-# ----------------------------------------------------------------------------
-BLOCK INIT
-_LOG_LEVEL $TEST_LOG_LEVEL
-END
-
-
-# ----------------------------------------------------------------------------
-# FMT_DATE: Format given time in seconds to RFC 1123 format
-# Param 1: time in seconds
-# Param 2: where to store result (variable-name)
-#
-# (note: httest' STRFTIME works with msec instead of sec)
-# ----------------------------------------------------------------------------
-BLOCK FMT_DATE
-_OP $1 MUL 1000 aux
-_STRFTIME $aux "%a, %d %b %Y %H:%M:%S GMT" $2
-END
-
-
-# ----------------------------------------------------------------------------
-# TESTDOC_GETSIZE: Get TEST_DOC's file size & store it in TEST_DOC_LEN variable
-# ----------------------------------------------------------------------------
-BLOCK TESTDOC_GETSIZE
-_MATCH EXEC "(.*)" TEST_DOC_LEN
-_SH #!/bin/bash
-_SH stat -c %s $DOC_ROOT/$TEST_DOC
-_SH END
-END
-
-
-# ----------------------------------------------------------------------------
-# TESTDOC_GETEPOCH: Get TEST_DOC's Epoch time & store it in TEST_DOC_EPOCH
-# variable
-# ----------------------------------------------------------------------------
-BLOCK TESTDOC_GETEPOCH
-_MATCH EXEC "(.*)" TEST_DOC_EPOCH
-_SH #!/bin/bash
-_SH stat -c %Y $DOC_ROOT/$TEST_DOC
-_SH END
-END
-
-
-# ----------------------------------------------------------------------------
-# TESTDOC_GETDATE: Get TEST_DOC's date & store it in TEST_DOC_HTTPDATE variable
-# ----------------------------------------------------------------------------
-BLOCK TESTDOC_GETDATE
-_CALL TESTDOC_GETEPOCH
-_CALL FMT_DATE $TEST_DOC_EPOCH TEST_DOC_HTTPDATE
-END