aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-09-04 22:45:26 +0200
committermakefu <github@syntax-fehler.de>2015-09-04 22:45:26 +0200
commit58cc9dc1d877718e5a21bf9766eaa33a17fe7311 (patch)
treeed8265fc3738fdda1b06fdb4f616cf75a59cf68a
parentd5ce549e5bbdfcd5d67d801a0ca6fe759949ae47 (diff)
add new potential Test Case
-rw-r--r--TESTS15
1 files changed, 15 insertions, 0 deletions
diff --git a/TESTS b/TESTS
index d83394e..e455bd6 100644
--- a/TESTS
+++ b/TESTS
@@ -2,3 +2,18 @@
- PATH in config for command
- PATH in os.environ
- PATH should get overwritten by config but os.environ persisted
+
+config.py:
+ public_commands= [
+ default_command('showPath', cmd='showPath', env={ 'PATH':'/run/current-system/sw/bin/' })
+ ]
+
+commands/showPath:
+ #!/bin/sh
+ env | grep '^PATH'
+
+# TESTME nick name changed
+- reaktor joins with given nickname,
+- asybot changes the nickname
+- when receiving Privmsg Reaktor checks its current
+ nickname with the configured and reloads config if required