summaryrefslogtreecommitdiffstats
path: root/Unix-Statgrab-0.04-fixedtest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Unix-Statgrab-0.04-fixedtest.patch')
-rw-r--r--Unix-Statgrab-0.04-fixedtest.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/Unix-Statgrab-0.04-fixedtest.patch b/Unix-Statgrab-0.04-fixedtest.patch
new file mode 100644
index 0000000..6a5044a
--- /dev/null
+++ b/Unix-Statgrab-0.04-fixedtest.patch
@@ -0,0 +1,26 @@
+diff -up Unix-Statgrab-0.04/t/Unix-Statgrab.t.fixedtest Unix-Statgrab-0.04/t/Unix-Statgrab.t
+--- Unix-Statgrab-0.04/t/Unix-Statgrab.t.fixedtest 2012-08-06 14:42:51.831022299 +0200
++++ Unix-Statgrab-0.04/t/Unix-Statgrab.t 2012-08-06 14:43:02.067962581 +0200
+@@ -1,5 +1,5 @@
+ use Test;
+-BEGIN { plan tests => 22 };
++BEGIN { plan tests => 21 };
+
+ use Unix::Statgrab;
+ ok(1); # If we made it this far, we're ok.
+@@ -101,15 +101,3 @@ if ($pr) {
+ $pr->state;
+ }
+ ok(1);
+-
+-
+-@p = sort sort_procs_by_name $p->all_procs;
+-@p = sort sort_procs_by_pid $p->all_procs;
+-@p = sort sort_procs_by_uid $p->all_procs;
+-@p = sort sort_procs_by_gid $p->all_procs;
+-@p = sort sort_procs_by_size $p->all_procs;
+-@p = sort sort_procs_by_res $p->all_procs;
+-@p = sort sort_procs_by_cpu $p->all_procs;
+-@p = sort sort_procs_by_time $p->all_procs;
+-ok(1);
+-