Darko Poljak
9703e0f08e
Save output streams.
...
Implementation is 99% based on Steven's initial implementation.
7 years ago
Darko Poljak
f0dc21ec0c
__cdist_log_level=<log level int value>; __cdist_log_level_name=<log level name> ( #574 )
8 years ago
Darko Poljak
3454da076f
Add -l/--log-level option. Honor __cdist_loglevel env var. ( #572 )
...
Add -l/--log-level option, __cdist_loglevel -> __cdist_log_level; honor __cdist_log_level env var
8 years ago
Darko Poljak
e2a1519332
Merge inventory from beta branch.
8 years ago
Darko Poljak
5f436f21b8
Transfer and run global explorers in parallel.
9 years ago
Darko Poljak
a4c49201c0
Add jobs option for parallel execution, global explorers first.
9 years ago
Darko Poljak
dbcc94ab65
Add derived env vars for target hostname and fqdn.
9 years ago
Darko Poljak
6f28fc2db2
Fix ssh mux socket file error.
...
ssh ControlPath socket file needs to be unique for each host.
To avoid using ssh ControlPath option placeholders move socket file
to host's temp directory. Since each host has unique temp
directory then, although file name for socket file is fixed, its path
is unique.
9 years ago
Darko Poljak
64efa04599
pep8
9 years ago
Nico Schottelius
d08c29b581
fix most test cases broken by no-dot-cdist change
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
98cdc6c139
fix tests so that the explorers are not changed while running tests
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
33559fad67
add comments to some tests
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
136ddc05b5
context based changes
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
2f5de23ae9
out_path -> base_path
...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
12 years ago
Nico Schottelius
1bb3c82d72
cleanup some logging stuff
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
4a67d768d5
fix all explorer test cases
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
90fad0fe83
create remote base in test - needed?
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
5ec586f764
begin to cleanup explorer test case
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
528901bdee
update a lot of tests for new exec.local
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
c9f728e073
lib/cdist => cdist (pypi)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
91ecfa7d3f
back to 100% tests working
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
fb4f8784b6
rename Type => CdistType
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Nico Schottelius
4be37f6e93
begin rename Object => CdistObject
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
13 years ago
Steven Armstrong
e36e538f81
sort lists before testing for equality
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
40971208f2
add test for Explorer run_type_explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
6f82aef704
add test for Explorer run_global_explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
97ab6effa4
introduce new cdist.test.CdistTestCase base class which handles common tasks
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
eb5b80d132
remove legacy tests
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
ef5eb34274
update test for upcomming change: /__debug/__cdist_debug/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Nico Schottelius
50cb8807bf
fix tests to work (not code :-)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Steven Armstrong
c38959699f
test for: transfer_type_explorers_only_once
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Nico Schottelius
db04ec0473
test whether debug is setup in explorer env
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Steven Armstrong
be02dc5ff1
create object directory befor accessing it
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
fb4d20e7e8
test for test_list_type_explorer_names
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
f02bdf3e61
test for test_list_global_explorer_names
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
ac79ec101f
+consistency
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
f1fdf0f13c
add assertion for test_run_global_explorer
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
f846fdd961
add assertion for test_transfer_global_explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
2eb37367a1
add assertion for test_transfer_type_explorers
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
910de0579c
add assertion for test_transfer_object_parameters
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
dc6218c3e1
initial test for test_transfer_object_parameters
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
63eee391e0
implement Explorer analog to Manifest + tests
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago