summaryrefslogtreecommitdiffstats
path: root/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
diff options
context:
space:
mode:
authorTim Orling <TicoTimo@gmail.com>2016-04-14 17:31:14 -0700
committerTim Orling <TicoTimo@gmail.com>2016-04-14 17:31:14 -0700
commit077ee73993405cfeba8ace63fd586ea86033a224 (patch)
tree0a3160b025df03b9701703d711f7d0134d0bde03 /Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
parent5856486d1c4875741edae582b96c3a369546c6aa (diff)
downloadperl-Unix-Statgrab-master.tar.gz
perl-Unix-Statgrab-master.tar.xz
perl-Unix-Statgrab-master.zip
Bring up to date with Fedora pkgHEADmaster
Diffstat (limited to 'Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch')
-rw-r--r--Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch b/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
new file mode 100644
index 0000000..a5c9331
--- /dev/null
+++ b/Unix-Statgrab-0.109-Disable-get_user_stats-tests.patch
@@ -0,0 +1,32 @@
+diff --git a/t/01-methods.t b/t/01-methods.t
+index af1a48a..773f6e3 100644
+--- a/t/01-methods.t
++++ b/t/01-methods.t
+@@ -77,7 +77,6 @@ my %funcs = (
+ voluntary_context_switches involuntary_context_switches proc_size
+ proc_resident start_time time_spent cpu_percent nice state systime/
+ ],
+- get_user_stats => [qw/login_name record_id device hostname pid login_time systime/],
+ );
+
+ my %errs = ( get_error => [qw/error error_name error_value error_arg strperror/], );
+@@ -111,6 +110,7 @@ foreach my $func ( sort @{$Unix::Statgrab::EXPORT_TAGS{stats}} )
+ {
+ SKIP:
+ {
++ skip("get_user_stats is broken :(") if $func eq "get_user_stats";
+ my $sub = Unix::Statgrab->can($func);
+ ok( $sub, "Unix::Statgrab->can('$func')" ) or skip("Can't invoke unknow stats-call $func");
+ my $o = &{$sub}();
+diff --git a/t/03-leak.t b/t/03-leak.t
+index 84b46f4..75b3d55 100644
+--- a/t/03-leak.t
++++ b/t/03-leak.t
+@@ -23,7 +23,6 @@ my %funcs = (
+ get_network_iface_stats => [],
+ get_page_stats => [qw/get_page_stats_diff/],
+ get_process_stats => [],
+- get_user_stats => [],
+ );
+
+ my %errs = (