2021-04-26 17:48:43 +00:00
|
|
|
*** Settings ***
|
|
|
|
Variables ../../../variables/common.py
|
|
|
|
|
2021-02-08 05:05:17 +00:00
|
|
|
*** Variables ***
|
2021-06-01 12:07:31 +00:00
|
|
|
${RULE_FOR_ALL} = REP 2 IN X CBF 1 SELECT 4 FROM * AS X
|
2021-02-08 05:05:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
*** Keywords ***
|
|
|
|
|
|
|
|
Create Containers
|
2021-04-26 17:48:43 +00:00
|
|
|
Log Create Private Container
|
2021-02-08 05:05:17 +00:00
|
|
|
${PRIV_CID_GEN} = Create container ${USER_KEY} 0x18888888 ${RULE_FOR_ALL}
|
2021-04-26 17:48:43 +00:00
|
|
|
Container Existing ${USER_KEY} ${PRIV_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
|
|
|
Log Create Public Container
|
|
|
|
${PUBLIC_CID_GEN} = Create container ${USER_KEY} 0x1FFFFFFF ${RULE_FOR_ALL}
|
2021-04-26 17:48:43 +00:00
|
|
|
Container Existing ${USER_KEY} ${PUBLIC_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
2021-04-26 17:48:43 +00:00
|
|
|
Log Create Read-Only Container
|
2021-02-08 05:05:17 +00:00
|
|
|
${READONLY_CID_GEN} = Create container ${USER_KEY} 0x1FFF88FF ${RULE_FOR_ALL}
|
2021-04-26 17:48:43 +00:00
|
|
|
Container Existing ${USER_KEY} ${READONLY_CID_GEN}
|
2021-02-08 05:05:17 +00:00
|
|
|
|
|
|
|
Set Global Variable ${PRIV_CID} ${PRIV_CID_GEN}
|
|
|
|
Set Global Variable ${PUBLIC_CID} ${PUBLIC_CID_GEN}
|
|
|
|
Set Global Variable ${READONLY_CID} ${READONLY_CID_GEN}
|
|
|
|
|
|
|
|
Generate file
|
|
|
|
[Arguments] ${SIZE}
|
|
|
|
${FILE_S_GEN} = Generate file of bytes ${SIZE}
|
|
|
|
${FILE_S_HASH_GEN} = Get file hash ${FILE_S_GEN}
|
|
|
|
|
|
|
|
Set Global Variable ${FILE_S} ${FILE_S_GEN}
|
|
|
|
Set Global Variable ${FILE_S_HASH} ${FILE_S_HASH_GEN}
|