diff options
| author | makefu <github@syntax-fehler.de> | 2015-09-04 22:45:26 +0200 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2015-09-04 22:45:26 +0200 | 
| commit | 9bf9f8d045801b17956d12f599bb166e608ed6dd (patch) | |
| tree | af64f688913772f9b7d2b8d154300bac887937b8 | |
| parent | 9d482e1b1e6b399e1c2c01194017c2f6248cdf6e (diff) | |
add new potential Test Case
| -rw-r--r-- | Reaktor/TESTS | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/Reaktor/TESTS b/Reaktor/TESTS index d83394ed..e455bd6a 100644 --- a/Reaktor/TESTS +++ b/Reaktor/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 | 
