• Adrian Reber's avatar
    Fix RPC configuration file test case · bada5e1a
    Adrian Reber authored
    The relevant test case test_rpc_with_configuration_file_overwriting_rpc()
    was actually designed around the broken behaviour. It was only working
    if a previous configuration file (set via environment variable in this
    case) and the RPC configuration file have the same name. The test case
    which tests that RPC configuration file settings are overwriting direct
    RPC settings now makes sure that no other configuration file is set via
    the environment variable. If it would be set, the test case would still
    succeed, even with the previous patch applied. Which is and which was the
    correct behaviour.
    
    So the main reason for this change is to test the more likely use case
    that the environment based configuration file and the RPC configuration
    file have different names.
    Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
    bada5e1a
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile Loading commit data...
config_file.py Loading commit data...
errno.py Loading commit data...
loop.sh Loading commit data...
ps_test.py Loading commit data...
read.py Loading commit data...
restore-loop.py Loading commit data...
rpc.proto Loading commit data...
run.sh Loading commit data...
test-c.c Loading commit data...
test.py Loading commit data...
version.py Loading commit data...