summaryrefslogtreecommitdiffstats
path: root/rpmmodule
diff options
context:
space:
mode:
Diffstat (limited to 'rpmmodule')
-rwxr-xr-xrpmmodule/t6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpmmodule/t b/rpmmodule/t
index e5359dde1..777dd62ea 100755
--- a/rpmmodule/t
+++ b/rpmmodule/t
@@ -14,3 +14,9 @@ for n in db.findbyname('glibc'):
for n in db.findbyfile('/bin/bash'):
print "match:", db[n]['name']
+key = db.firstkey()
+while key:
+ print "got:", db[key]['name']
+
+ key = db.nextkey(key)
+