Exemplo n.º 1
0
 public void TestAddNoMatchSysAttribute()
 {
     using (var udev = new Context())
         using (var e = new Enumerator(udev)) {
             // every device has a uevent attribute
             e.AddNoMatchSysAttribute("uevent");
             e.ScanDevices();
             Assert.Empty(e);
         }
 }