• antirez's avatar
    Test: fix RDB test checking file permissions. · cf7b2c32
    antirez authored
    When the test is executed using the root account, setting the permission
    to 222 does not work as expected, as root can read files with 222
    permission.
    
    Now we skip the test if root is detected.
    
    This fixes issue #1034 and the duplicated #1040 issue.
    
    Thanks to Jan-Erik Rediger (@badboy on Github) for finding a way to reproduce the issue.
    cf7b2c32
rdb.tcl 3.63 KB