简体   繁体   中英

Robotframework test cases , how topn write a test cases for this scenaries

  1. Kept KRB5 empty stanza in config and run mmnfs config change - config change will remove empty KR5 stanza
  2. With valid KRB5 stanza, KRB5 stanza should not be removed after performing any mmconfig change opertaion
  3. Without KRB5 stanza ---> Expected result: mmnfs change config should not create empty KRB5 stanza

-krb5 is a file

Kept KRB5 empty stanza in config and run mmnfs config change - config change will remove empty KR5 stanza With valid KRB5 stanza, KRB5 stanza should not be removed after performing any mmconfig change opertaion Without KRB5 stanza ---> Expected result: mmnfs change config should not create empty KRB5 stanza

How to write if condition in robot frame work.here the details below

Log "check krb valid stanza in conf finle" @{output} native CLI uniquscommand grep -A5 NFS_KRB5/var/mmfs/ces/nfs-config/god's.ganesha.main.conf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM