8101e06 selftests: bpf: Skip write only files in debugfs

1 file Authored by Jakub Kicinski 4 years ago, Committed by David S. Miller 4 years ago,
    selftests: bpf: Skip write only files in debugfs
    
    DebugFS for netdevsim now contains some "action trigger" files
    which are write only. Don't try to capture the contents of those.
    
    Note that we can't use os.access() because the script requires
    root.
    
    Fixes: 4418f862d675 ("netdevsim: implement support for devlink region and snapshots")
    Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>