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:
c9406e6
)
Remove testcase failing if run as root.
author
Michael Andres
<ma@suse.de>
Fri, 22 May 2009 15:03:10 +0000
(17:03 +0200)
committer
Michael Andres
<ma@suse.de>
Fri, 22 May 2009 15:03:10 +0000
(17:03 +0200)
tests/zypp/PathInfo_test.cc
patch
|
blob
|
history
diff --git
a/tests/zypp/PathInfo_test.cc
b/tests/zypp/PathInfo_test.cc
index
2eb3b2c
..
148c410
100644
(file)
--- a/
tests/zypp/PathInfo_test.cc
+++ b/
tests/zypp/PathInfo_test.cc
@@
-209,10
+209,4
@@
BOOST_AUTO_TEST_CASE(test_exchange)
BOOST_CHECK_EQUAL( filesystem::exchange( a, b ), 0 );
BOOST_CHECK( PathInfo(a).isFile() );
BOOST_CHECK( PathInfo(b).isDir() );
-
- // Exchange with location that can't be created:
- BOOST_CHECK_EQUAL( chmod( b.dirname(), 0555 ), 0 );
- BOOST_CHECK_EQUAL( filesystem::exchange( a, b ), EACCES );
- BOOST_CHECK( PathInfo(a).isFile() );
- BOOST_CHECK( PathInfo(b).isDir() );
}