Project

General

Profile

Feature #14993

Updated by Toomas Soome 2 months ago

Note, this update is based on OpenZFS patch 5e74ac51c70ee978e338e828f05377092d0637d4, but not fully - we do not implement (yet?) the OS identifier support in patch names. 

 <pre> 
     Tests that aren't limited to running on Linux can be moved to a common 
     runfile to be shared with other platforms. 
    
     The test runner and wrapper script are enhanced to allow specifying 
     multiple runfiles as a comma-separated list. The default runfiles are 
     now "common.run,PLATFORM.run" where PLATFORM is determined at run time. 
 </pre> 

 Testing done: run updated zfs-tests. 

 One example: 
 <pre> 
 tsoome@test:~$ /opt/zfs-tests/bin/zfstest -T bootfs 
 Test: /opt/zfs-tests/tests/functional/bootfs/setup (run as root)    [00:00] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_001_pos (run as root) [00:00] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_002_neg (run as root) [00:00] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_003_pos (run as root) [00:01] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_004_neg (run as root) [00:00] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_005_neg (run as root) [00:08] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_006_pos (run as root) [00:04] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_007_pos (run as root) [00:00] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/bootfs_008_pos (run as root) [00:01] [PASS] 
 Test: /opt/zfs-tests/tests/functional/bootfs/cleanup (run as root) [00:00] [PASS] 

 Results Summary 
 PASS        10 

 Running Time:     00:00:17 
 Percent passed: 100.0% 
 Log directory:    /var/tmp/test_results/20220923T145412 
 tsoome@test:~$  
 </pre> 

Back