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:
886608c
)
- Changed the order of relative file and ftp url
author
Marius Tomaschewski
<mt@suse.de>
Mon, 3 Apr 2006 18:11:29 +0000
(18:11 +0000)
committer
Marius Tomaschewski
<mt@suse.de>
Mon, 3 Apr 2006 18:11:29 +0000
(18:11 +0000)
testsuite/zypp/tests/Url1.cc
patch
|
blob
|
history
diff --git
a/testsuite/zypp/tests/Url1.cc
b/testsuite/zypp/tests/Url1.cc
index de0eee371915df9b7f10c948508f6cef6f5ecbf5..ae09a12147d0a6e25eff7b61dac454471411bedd 100644
(file)
--- a/
testsuite/zypp/tests/Url1.cc
+++ b/
testsuite/zypp/tests/Url1.cc
@@
-5,14
+5,13
@@
int main(void)
{
std::string str, out;
- zypp::Url url;
- str = "file:
///%2f
/srv/ftp";
+ str = "file:
.
/srv/ftp";
std::cout << "STR: " << str << std::endl;
out = zypp::Url(str).asString();
std::cout << "URL: " << out << std::endl << std::endl;
- str = "f
ile:.
/srv/ftp";
+ str = "f
tp://foo/
/srv/ftp";
std::cout << "STR: " << str << std::endl;
out = zypp::Url(str).asString();
std::cout << "URL: " << out << std::endl << std::endl;