Issue #17487 has been updated by Jeff McCune.
Status changed from In Topic Branch Pending Review to Tests Insufficient
Assignee changed from Jeff McCune to Alex Harvey
Given the amount of discussion in #11612 I think this change needs to have test
coverage and doesn't really quality as "trivial" even though it's a one-line
code change. There's a lot of machine code that executes behind that `%x{ ...
}` and the expected behavior is really the important piece of information to
express as an example.
I'm going to try my hand at writing an example. Alex, could you provide copy
and paste output of the command `/bin/netstat -in` that produces output
requiring the stream editing? The only fixture data I have on this is the
following, which doesn't appear to contain an `*` anywhere in the output:
<pre>
$ cat spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
lan1 1500 192.168.100.0 192.168.100.182 12964 0 900 0 0
lan0 1500 192.168.100.0 192.168.100.181 12964 0 715 0 0
lo0 4136 127.0.0.0 127.0.0.1 98 0 98 0 0
</pre>
----------------------------------------
Bug #17487: 'no such interface' sometimes printed on HP-UX platforms
https://projects.puppetlabs.com/issues/17487#change-76977
Author: Alex Harvey
Status: Tests Insufficient
Priority: Normal
Assignee: Alex Harvey
Category: hpux
Target version: 1.6.x
Keywords:
Branch: https://github.com/puppetlabs/facter/pull/357
Affected Facter version: 1.6.14
On HP-UX platforms facter sometimes prints errors -
<pre>
$ facter
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
architecture => ia64
...
</pre>
This was identified by Hongbo Hu who submitted a patch in #11612.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.