| index 7d50134..5632479 100755 | ||
| --- a/release-dist.sh | ||
| +++ b/release-dist.sh | ||
| @@ -28,7 +28,7 @@ set -euo pipefail | ||
| 28 | 28 | |
| 29 | 29 | SLUG="sysmon" |
| 30 | 30 | ID="plugin_sysmon" |
| 31 | -VERSION="1.0.1" | |
| 31 | +VERSION="1.0.2" | |
| 32 | 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" |
| 33 | 33 | |
| 34 | 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" |
| index bb5b135..59fcef8 100644 | ||
| --- a/src/plugin_sysmon.c | ||
| +++ b/src/plugin_sysmon.c | ||
| @@ -64,7 +64,7 @@ | ||
| 64 | 64 | |
| 65 | 65 | #define PLUGIN_SLUG "sysmon" |
| 66 | 66 | #define PLUGIN_ID "plugin_sysmon" |
| 67 | -#define PLUGIN_VER "1.0.1" | |
| 67 | +#define PLUGIN_VER "1.0.2" | |
| 68 | 68 | |
| 69 | 69 | #define MAX_CORES 256 |
| 70 | 70 | #define MAX_PROCS 4096 |
| index 08bc08a..92d1cf5 100755 | ||
| --- a/tests/run.sh | ||
| +++ b/tests/run.sh | ||
| @@ -64,7 +64,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 64 | 64 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 65 | 65 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 66 | 66 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" |
| 67 | -check "--version prints version" '1.0.1' "$("$BIN" --version)" | |
| 67 | +check "--version prints version" '1.0.2' "$("$BIN" --version)" | |
| 68 | 68 | check "--help is available" 'usage:' "$("$BIN" --help)" |
| 69 | 69 | META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta) |
| 70 | 70 | check "meta still works when BOT_PASSWORD is set" '"name":"sysmon"' "$META_AUTH" |
| 71 | 71 |
| index 7d50134..5632479 100755 | index 7d50134..5632479 100755 | ||
| --- a/release-dist.sh | --- a/release-dist.sh | ||
| +++ b/release-dist.sh | +++ b/release-dist.sh | ||
| @@ -28,7 +28,7 @@ set -euo pipefail | @@ -28,7 +28,7 @@ set -euo pipefail | ||
| 28 | 28 | ||
| 29 | SLUG="sysmon" | 29 | SLUG="sysmon" |
| 30 | ID="plugin_sysmon" | 30 | ID="plugin_sysmon" |
| 31 | -VERSION="1.0.1" | 31 | +VERSION="1.0.2" |
| 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" | 32 | DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins" |
| 33 | 33 | ||
| 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" | 34 | ROOT="$(cd "$(dirname "$0")" && pwd)" |
| index bb5b135..59fcef8 100644 | index bb5b135..59fcef8 100644 | ||
| --- a/src/plugin_sysmon.c | --- a/src/plugin_sysmon.c | ||
| +++ b/src/plugin_sysmon.c | +++ b/src/plugin_sysmon.c | ||
| @@ -64,7 +64,7 @@ | @@ -64,7 +64,7 @@ | ||
| 64 | 64 | ||
| 65 | #define PLUGIN_SLUG "sysmon" | 65 | #define PLUGIN_SLUG "sysmon" |
| 66 | #define PLUGIN_ID "plugin_sysmon" | 66 | #define PLUGIN_ID "plugin_sysmon" |
| 67 | -#define PLUGIN_VER "1.0.1" | 67 | +#define PLUGIN_VER "1.0.2" |
| 68 | 68 | ||
| 69 | #define MAX_CORES 256 | 69 | #define MAX_CORES 256 |
| 70 | #define MAX_PROCS 4096 | 70 | #define MAX_PROCS 4096 |
| index 08bc08a..92d1cf5 100755 | index 08bc08a..92d1cf5 100755 | ||
| --- a/tests/run.sh | --- a/tests/run.sh | ||
| +++ b/tests/run.sh | +++ b/tests/run.sh | ||
| @@ -64,7 +64,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | @@ -64,7 +64,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/') | ||
| 64 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" | 64 | [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})" |
| 65 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') | 65 | NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/') |
| 66 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" | 66 | [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces" |
| 67 | -check "--version prints version" '1.0.1' "$("$BIN" --version)" | 67 | +check "--version prints version" '1.0.2' "$("$BIN" --version)" |
| 68 | check "--help is available" 'usage:' "$("$BIN" --help)" | 68 | check "--help is available" 'usage:' "$("$BIN" --help)" |
| 69 | META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta) | 69 | META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta) |
| 70 | check "meta still works when BOT_PASSWORD is set" '"name":"sysmon"' "$META_AUTH" | 70 | check "meta still works when BOT_PASSWORD is set" '"name":"sysmon"' "$META_AUTH" |
| 71 | 71 |