• Thomas Gambier's avatar
    manager: fix links handling in devperm · 6cf5c4d9
    Thomas Gambier authored
    Fixup of 89863d6c
    
    For links like this:
    
    $ ls -l /dev/disk/by-path/pci-0000:42:00.0-nvme-1
    lrwxrwxrwx 1 root root 13 Oct 25 15:19 /dev/disk/by-path/pci-0000:42:00.0-nvme-1 -> ../../nvme7n1
    
    os.readlink() returns "../../nvme7n1" while we want "/dev/nvme7n1".
    6cf5c4d9
test_slapgrid.py 184 KB