Skip to content

yast/yast-s390

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YaST - The S390 Configuration Module

Workflow Status OBS Coverage Status

Resources

For s390 development these resources are used:

Development

On your development laptop you will normally see no s390 specific devices. In the test/ directory there are mock data that can be used for UI development.

For zfcp devices, setting the YAST2_S390_PROBE_DISK environment variable pointing to the filename with the mock data is enough for overriding the SCR.Read(.probe.disk) call:

YAST2_S390_PROBE_DISK=test/data/probe_disk.yml      rake run"[zfcp]"

For DASD devices, apart of the disk probe it is needed to mock the lsdasd command output. Setting the S390_MOCKING=1 environment variable should be enough for using the mock data filenames already provided by the repository but in case that it is needed to use custom data then the variables to be set are YAST2_S390_LSDASD and YAST2_S390_PROBE_DISK.

S390_MOCKING=1 rake run"[dasd]"

or

YAST2_S390_LSDASD=test/data/lsdasd.txt YAST2_S390_PROBE_DISK=test/data/probe_disk_dasd.yml rake run"[dasd]"