diff options
Diffstat (limited to 'test/test_udevcdrom.cc')
-rw-r--r-- | test/test_udevcdrom.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/test_udevcdrom.cc b/test/test_udevcdrom.cc deleted file mode 100644 index 577e2d013..000000000 --- a/test/test_udevcdrom.cc +++ /dev/null @@ -1,19 +0,0 @@ -#include <apt-pkg/cdrom.h> -#include <stdio.h> -#include <assert.h> - -int main() -{ - int i; - pkgUdevCdromDevices c; - assert(c.Dlopen()); - - vector<CdromDevice> l; - l = c.Scan(); - assert(l.empty() == false); - for (i=0;i<l.size();i++) - std::cerr << l[i].DeviceName << " " - << l[i].Mounted << " " - << l[i].MountPath << std::endl; - -} |