"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scripts/irods/test/rule_texts_for_tests.py" between
irods-4.2.5.tar.gz and irods-4.2.6.tar.gz

About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.

rule_texts_for_tests.py  (irods-4.2.5):rule_texts_for_tests.py  (irods-4.2.6)
skipping to change at line 143 skipping to change at line 143
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Native_Rule_Eng ine_Plugin']['test_rule_engine_2309_1'] = ''' rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Native_Rule_Eng ine_Plugin']['test_rule_engine_2309_1'] = '''
acSetNumThreads() { acSetNumThreads() {
writeLine("serverLog", "test_rule_engine_2309: put: acSetNumThreads oprType [$oprType]"); writeLine("serverLog", "test_rule_engine_2309: put: acSetNumThreads oprType [$oprType]");
} }
''' '''
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Native_Rule_Eng ine_Plugin']['test_rule_engine_2309_2'] = ''' rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Native_Rule_Eng ine_Plugin']['test_rule_engine_2309_2'] = '''
acSetNumThreads() { acSetNumThreads() {
writeLine("serverLog", "test_rule_engine_2309: get: acSetNumThreads oprType [$oprType]"); writeLine("serverLog", "test_rule_engine_2309: get: acSetNumThreads oprType [$oprType]");
} }
''' '''
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Native_Rule_Eng
ine_Plugin']['test_msiSegFault'] = '''
test_msiSegFault {{
writeLine("stdout", "We are about to segfault...");
msiSegFault();
writeLine("stdout", "You should never see this line.");
}}
OUTPUT ruleExecOut
'''
#===== Test_Quotas ===== #===== Test_Quotas =====
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Quotas'] = {} rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Quotas'] = {}
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Quotas']['test_ iquota__3044'] = ''' rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Quotas']['test_ iquota__3044'] = '''
acRescQuotaPolicy { acRescQuotaPolicy {
msiSetRescQuotaPolicy("on"); msiSetRescQuotaPolicy("on");
} }
''' '''
skipping to change at line 500 skipping to change at line 508
test_delay_with_output_param {{ test_delay_with_output_param {{
delay("<PLUSET>0.1s</PLUSET>") {{ delay("<PLUSET>0.1s</PLUSET>") {{
writeLine("serverLog", "We are about to fail..."); writeLine("serverLog", "We are about to fail...");
msiGoodFailure(); msiGoodFailure();
writeLine("serverLog", "You should never see this line."); writeLine("serverLog", "You should never see this line.");
}} }}
writeLine("stdout", "rule queued"); writeLine("stdout", "rule queued");
}} }}
OUTPUT ruleExecOut OUTPUT ruleExecOut
''' '''
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Delay_Queue']['
test_sigpipe_in_delay_server'] = '''
test_sigpipe_in_delay_server {{
delay("<PLUSET>0.1s</PLUSET>") {{
writeLine("serverLog", "We are about to segfault...");
msiSegFault();
writeLine("serverLog", "You should never see this line.");
}}
delay("<PLUSET>{longer_delay_time}s</PLUSET>") {{
writeLine("serverLog", "Follow-up rule executed later!");
}}
writeLine("stdout", "rule queued");
}}
OUTPUT ruleExecOut
'''
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Delay_Queue']['
test_exception_in_delay_server'] = '''
test_exception_in_delay_server {{
delay("<PLUSET>0.1s</PLUSET>") {{
writeLine("serverLog", "Sleeping now...");
msiSleep("{sleep_time}", "0");
msiSegFault();
}}
delay("<PLUSET>{longer_delay_time}s</PLUSET>") {{
writeLine("serverLog", "Follow-up rule executed later!");
}}
}}
OUTPUT ruleExecOut
'''
#===== Test_Execution_Frequency ===== #===== Test_Execution_Frequency =====
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Execution_Frequ ency'] = {} rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Execution_Frequ ency'] = {}
rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Execution_Frequ ency']['test_repeat_n_times'] = ''' rule_texts['irods_rule_engine_plugin-irods_rule_language']['Test_Execution_Frequ ency']['test_repeat_n_times'] = '''
test_delay_with_output_param {{ test_delay_with_output_param {{
delay("<PLUSET>{repeat_delay}s</PLUSET><EF>{repeat_delay}s REPEAT {repeat_n} TIMES</EF>") {{ delay("<PLUSET>{repeat_delay}s</PLUSET><EF>{repeat_delay}s REPEAT {repeat_n} TIMES</EF>") {{
writeLine("serverLog", "{repeat_string}"); writeLine("serverLog", "{repeat_string}");
}} }}
}} }}
INPUT null INPUT null
 End of changes. 2 change blocks. 
0 lines changed or deleted 38 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)