extend tests - reed-alert - Lightweight agentless alerting system for server HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit f5fc8cf8692c366dd8f166ee50cf383a4abe477e DIR parent 04e5233e498ab9840a53d8f9b5f6b0e626e1a735 HTML Author: Solene Rapenne <solene@perso.pw> Date: Fri, 25 Jan 2019 11:12:15 +0100 extend tests Diffstat: M test/test.lisp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) --- DIR diff --git a/test/test.lisp b/test/test.lisp @@ -1,8 +1,14 @@ (setf *tries* 2) -(setf *reminder* 1) +(setf *reminder* 5) -(alert notification "env DISPLAY=:0.0 notify-send -u critical '%state% %function%' '%params% %result%'") +(alert notification "echo '%state% %function% %params% %result%'") ;; check for /tmp/ disk usage ;; create a big file to increase size (=> notification disk-usage :path "/tmp" :limit 5 :reminder 2) +(=> notification disk-usage :path "/" :limit 1 :reminder 2) +(=> notification disk-usage :path "/" :limit 1 :reminder 2) +(=> notification disk-usage :path "/" :limit 1 :reminder 2) +(=> notification disk-usage :path "/" :limit 1 :reminder 2) +(=> notification disk-usage :path "/" :limit 1 :reminder 2) +(=> notification disk-usage :path "/" :limit 1 :reminder 2)