aboutsummaryrefslogtreecommitdiffstats
path: root/TESTS
blob: e455bd6af0d85a8b5e3dcdb89f0e72628ef6336a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# TESTME environment override Issue
- 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