Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11608 - /trunk/libzypp/tests/zypp/Fetcher_test.cc
  • From: dmacvicar@xxxxxxxxxxxxxxxx
  • Date: Thu, 06 Nov 2008 17:36:40 -0000
  • Message-id: <20081106173640.C91C433929@xxxxxxxxxxxxxxxx>
Author: dmacvicar
Date: Thu Nov 6 18:36:40 2008
New Revision: 11608

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11608&view=rev
Log:
fix test

Modified:
trunk/libzypp/tests/zypp/Fetcher_test.cc

Modified: trunk/libzypp/tests/zypp/Fetcher_test.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/tests/zypp/Fetcher_test.cc?rev=11608&r1=11607&r2=11608&view=diff
==============================================================================
--- trunk/libzypp/tests/zypp/Fetcher_test.cc (original)
+++ trunk/libzypp/tests/zypp/Fetcher_test.cc Thu Nov 6 18:36:40 2008
@@ -361,9 +361,12 @@
fetcher.reset();

BOOST_CHECK( PathInfo(dest.path() +
"/complexdir-broken/subdir2").isExist() );
- BOOST_CHECK( PathInfo(dest.path() +
"/complexdir-broken/subdir2/subdir2-file1.txt").isExist() );
+
+ BOOST_CHECK( ! PathInfo(dest.path() +
"/complexdir-broken/subdir2/subdir2-file1.txt").isExist() );
+
+ // this one got transfered before the failure, so it is there
BOOST_CHECK( PathInfo(dest.path() +
"/complexdir-broken/subdir1/subdir1-file1.txt").isExist() );
- BOOST_CHECK( PathInfo(dest.path() +
"/complexdir-broken/subdir1/subdir1-file2.txt").isExist() );
+ BOOST_CHECK( ! PathInfo(dest.path() +
"/complexdir-broken/subdir1/subdir1-file2.txt").isExist() );

fetcher.reset();


--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages