Mailinglist Archive: zypp-commit (223 mails)

< Previous Next >
[zypp-commit] r10556 - in /trunk/libzypp/tests/repo: OutdatedMetadata_test.cc yum/data/extensions/repodata/repomd.xml
  • From: dmacvicar@xxxxxxxxxxxxxxxx
  • Date: Fri, 11 Jul 2008 23:44:45 -0000
  • Message-id: <20080711234445.D4C1C3011A@xxxxxxxxxxxxxxxx>
Author: dmacvicar
Date: Sat Jul 12 01:44:45 2008
New Revision: 10556

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10556&view=rev
Log:
- testcase actually testing, oh it works :-)

Modified:
trunk/libzypp/tests/repo/OutdatedMetadata_test.cc
trunk/libzypp/tests/repo/yum/data/extensions/repodata/repomd.xml

Modified: trunk/libzypp/tests/repo/OutdatedMetadata_test.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/tests/repo/OutdatedMetadata_test.cc?rev=10556&r1=10555&r2=10556&view=diff
==============================================================================
--- trunk/libzypp/tests/repo/OutdatedMetadata_test.cc (original)
+++ trunk/libzypp/tests/repo/OutdatedMetadata_test.cc Sat Jul 12 01:44:45 2008
@@ -52,6 +52,10 @@
}
sat::Pool pool(sat::Pool::instance());

+ Repository repo = pool.reposFind("updates");
+
+ BOOST_CHECK_EQUAL( repo.generatedTimestamp(), Date(1215823454) );
+ BOOST_CHECK_EQUAL( repo.suggestedExpirationTimestamp(), Date(1215823454 +
3600) );

rm.cleanCache(updates);
}

Modified: trunk/libzypp/tests/repo/yum/data/extensions/repodata/repomd.xml
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/tests/repo/yum/data/extensions/repodata/repomd.xml?rev=10556&r1=10555&r2=10556&view=diff
==============================================================================
--- trunk/libzypp/tests/repo/yum/data/extensions/repodata/repomd.xml (original)
+++ trunk/libzypp/tests/repo/yum/data/extensions/repodata/repomd.xml Sat Jul 12
01:44:45 2008
@@ -9,13 +9,13 @@
<data type="filelists">
<location href="repodata/filelists.xml.gz"/>
<checksum type="sha">5df72494136a4e4b608ce3119802d6aa8d0f1167</checksum>
- <timestamp>1215823452</timestamp>
+ <timestamp>1215823453</timestamp>
<open-checksum
type="sha">fdabcfd9c056109ab25acf0644823bdec94b6cfd</open-checksum>
</data>
<data type="primary">
<location href="repodata/primary.xml.gz"/>
<checksum type="sha">52969c92f9c595108376cd37df7d5ada41851f6a</checksum>
- <timestamp>1215823452</timestamp>
+ <timestamp>1215823454</timestamp>
<open-checksum
type="sha">c6bd3c6099de74d97ed045163235be10ffa8a85f</open-checksum>
</data>
</repomd>

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

< Previous Next >
This Thread
  • No further messages