summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-09-29 03:49:51 +0000
committererdgeist <>2013-09-29 03:49:51 +0000
commit7b21a0a9d6f2655f820f2d930c2532f9eb7e9dc3 (patch)
treea754c5d4c61131cffd3cd1470c23b682460b3fda
parent58f235e232b6396097affb0e4328a29d8c16175f (diff)
a simple test plugin to see if the config file parser works.
-rw-r--r--test/minimunin-configs4
-rwxr-xr-xtest/minimunin-plugins/test7
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]
2env.hallo jenau
3command /usr/local/etc/minimunin-plugins/test
4user 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
3case $1 in
4config) echo empty;;
5*) id; env;;
6esac
7