projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf489b
)
- Added required attach
author
Marius Tomaschewski
<mt@suse.de>
Thu, 2 Feb 2006 14:11:59 +0000
(14:11 +0000)
committer
Marius Tomaschewski
<mt@suse.de>
Thu, 2 Feb 2006 14:11:59 +0000
(14:11 +0000)
testsuite/media/tests/media1.cc
patch
|
blob
|
history
diff --git
a/testsuite/media/tests/media1.cc
b/testsuite/media/tests/media1.cc
index d1f51ce87def6e9d836cda15a949824e7284f2bb..aad5f165efe41a286cf6f51177724ae226c6ed63 100644
(file)
--- a/
testsuite/media/tests/media1.cc
+++ b/
testsuite/media/tests/media1.cc
@@
-22,7
+22,7
@@
public:
{}
virtual bool
- isDesiredMedia(MediaAccessRef &ref, MediaNr mediaNr)
+ isDesiredMedia(
const
MediaAccessRef &ref, MediaNr mediaNr)
{
DBG << "isDesiredMedia(): for media nr " << mediaNr << std::endl;
@@
-59,6
+59,8
@@
int main(void)
id = mm.open(zypp::Url("cd:"));
mm.addVerifier( id, v);
+ mm.attach(id);
+
mm.provideFile(id, 1, Pathname("/directory.yast"));
return 0;