diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-17 12:06:37 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-17 12:06:37 +0200 |
commit | 369c919f2be8d2c93b990a97436b41ba4ae1ff29 (patch) | |
tree | 8f547c2705e5132fa7f775a1b9d7eca69f9c0840 /test/test_udevcdrom.cc | |
parent | 7c69574c5bec814cc3cb58701d2beccfe6093add (diff) |
move the interactive helper to a subdirectory of test
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; - -} |