Merge pull request #147 from IBM/git-sync

@@ -36,10 +36,18 @@

dspsysval_ccsid_result.sysval[0].type == ’10i0′

dspsysval_ccsid_result.sysval[0].value | int >= 0 and dspsysval_ccsid_result.sysval[0].value | int <= 65535


name: Check a system value with expected value

name: Check a system value with expected range

ibmi_sysval:

sysvalue:

{‘name’:’qmaxsign’, ‘expect’:’000005′}

{‘name’:’qmaxsign’, ‘expect’:3}

{‘name’:’qmaxsign’, ‘expect’:'[-1,3]’, ‘check’:’range’}

{‘name’:’qmaxsign’, ‘expect’:'[,3]’, ‘check’:’range’}

{‘name’:’qmaxsign’, ‘expect’:'[3,]’, ‘check’:’range’}

{‘name’:’qmaxsign’, ‘expect’:'[3,100]’, ‘check’:’range’}

# – {‘name’:’qmaxsign’, ‘expect’:'[-1,3)’, ‘check’:’range’}

# – {‘name’:’qmaxsign’, ‘expect’:'(,3)’, ‘check’:’range’}

# – {‘name’:’qmaxsign’, ‘expect’:'(3,]’, ‘check’:’range’}

# – {‘name’:’qmaxsign’, ‘expect’:'(3,100]’, ‘check’:’range’}

register: chksysval_qmaxsign_result


name: Display the returned parameters

@@ -49,16 +57,15 @@

name: Assert the returned parameters

assert:

that:

chksysval_qmaxsign_result.sysval | length == 1

chksysval_qmaxsign_result.sysval | length >= 1

chksysval_qmaxsign_result.sysval[0].name == ‘QMAXSIGN’

chksysval_qmaxsign_result.sysval[0].type == ‘8A’

chksysval_qmaxsign_result.sysval[0].value == chksysval_qmaxsign_result.sysval[0].expect

chksysval_qmaxsign_result.sysval[0].compliant | bool


name: Display many system values

ibmi_sysval:

sysvalue:

{‘name’:’qccsid’}

{‘name’:’qccsid’, ‘expect’:'[0,65535]’, ‘check’:’range’}

{‘name’:’qmaxsign’}

{‘name’:’qmaxsgnacn’}

register: dissysval_result

@@ -82,7 +89,7 @@

name: Check many system values with expected values

ibmi_sysval:

sysvalue:

{‘name’:’qmaxsign’, ‘expect’:’000005‘}

{‘name’:’qmaxsign’, ‘expect’:’[1,8]’, ‘check’:’range‘}

{‘name’:’qmaxsgnacn’, ‘expect’:’3′}

{‘name’:’qccsid’}

register: chksysval_result

@@ -97,7 +104,6 @@

chksysval_result.sysval | length == 3

chksysval_result.sysval[0].name == ‘QMAXSIGN’

chksysval_result.sysval[0].type == ‘8A’

chksysval_result.sysval[0].value == chksysval_result.sysval[0].expect

chksysval_result.sysval[0].compliant | bool

chksysval_result.sysval[1].name == ‘QMAXSGNACN’

chksysval_result.sysval[1].type == ‘4A’

Generated by Feedzy