]> git.saurik.com Git - apt.git/blame_incremental - test/interactive-helper/test_udevcdrom.cc
fix 'comparison between signed and unsigned integer expressions' warning
[apt.git] / test / interactive-helper / test_udevcdrom.cc
... / ...
CommitLineData
1#include <apt-pkg/cdrom.h>
2#include <stdio.h>
3#include <assert.h>
4
5int main()
6{
7 pkgUdevCdromDevices c;
8 assert(c.Dlopen());
9
10 vector<CdromDevice> l;
11 l = c.Scan();
12 assert(l.empty() == false);
13 for (size_t i = 0; i < l.size(); ++i)
14 std::cerr << l[i].DeviceName << " "
15 << l[i].Mounted << " "
16 << l[i].MountPath << std::endl;
17
18}