2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2024-11-21 17:11:52 +00:00
3 Test Design of syncfiles
Gᴏɴɢ Jie edited this page 2018-05-10 16:21:46 +08:00

Test Design of syncfiles

Function Verification Test

Scenario 0 - Basic function on Diskful compute node

  • Create a simple synclists file with a handful of files listed in it
    • Run updatenode -F

Scenario 1 - Basic function on Diskless compute node

  • Create a simple synclists file with a handful of files listed in it
    • Run updatenode -F

Scenario 2 - Basic function with xCAT service node involved

  • Run Scenario 0 with xCAT service node involved
  • Run Scenario 1 with xCAT service node involved

Scenario 3 - Negative tests

  • While one file listed in the synclists does not exist
  • While one file listed in the synclists does not have read permission
  • While one file listed in the synclists is not a regular file but a directory
  • While one file listed in the synclists is not a regular file but a named pipe
  • While one file listed in the synclists is not a regular file but a device file
  • The target directory on the compute node does not exist
  • The target directory on the compute node does not have write permission
  • The target place of the synced file on the compute node exists, but it is a directory
  • The target directory on the compute node is no free disk space