diff options
-rw-r--r-- | test/minimunin-configs | 4 | ||||
-rwxr-xr-x | test/minimunin-plugins/test | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/minimunin-configs b/test/minimunin-configs new file mode 100644 index 0000000..a3bd279 --- /dev/null +++ b/test/minimunin-configs | |||
@@ -0,0 +1,4 @@ | |||
1 | [test] | ||
2 | env.hallo jenau | ||
3 | command /usr/local/etc/minimunin-plugins/test | ||
4 | user nobody | ||
diff --git a/test/minimunin-plugins/test b/test/minimunin-plugins/test new file mode 100755 index 0000000..dbc13c4 --- /dev/null +++ b/test/minimunin-plugins/test | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | case $1 in | ||
4 | config) echo empty;; | ||
5 | *) id; env;; | ||
6 | esac | ||
7 | |||