Test Design of syncfiles - xcat2/xcat-core GitHub Wiki
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
Scenario 1 - Basic function on Diskless compute node
- Create a simple
synclists
file with a handful of files listed in it
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