projects
/
scpubgit/System-Introspector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9ee104c
)
there is now a 'package' key below 'installed' to be able to detect 'error'
Robert 'phaylon' Sedlacek [Wed, 9 May 2012 22:09:22 +0000 (22:09 +0000)]
t/packages-apt.t
patch
|
blob
|
blame
|
history
diff --git
a/t/packages-apt.t
b/t/packages-apt.t
index
ac30cb8
..
f96d685
100644
(file)
--- a/
t/packages-apt.t
+++ b/
t/packages-apt.t
@@
-8,7
+8,9
@@
my $data = $probe->gather;
ok(scalar(keys %$data), 'received packages');
ok(
- not(grep { not exists $_->{version} } values %{$data->{installed}}),
+ not(grep {
+ not exists $_->{version}
+ } values %{$data->{installed}{packages}}),
'versions',
);