I'm replying to myself as I indicated I would, now that I've tested the modified test file in the Win32::Netsh package on a different version of Windows. It took several sessions of reacquainting myself with the Perl installations on a 11-year old (at least) laptop I'd set aside to gather dust. I have StrawberryPerl v5.12.1 on that laptop.

Once I was done stumbling around in CygwinPerl instead of working in Strawberry (-;, I ran a make test first with the package as downloaded, that is, with no patches applied to 02-Win32-Netsh-Wlan.t, then did it again with that test file patched. The visible result was the same; the tests passed in each case. This proves that Windows 7 uses the old Wireless Network Connection terminology in its netsh output. And demonstrates that my patch won't break things if someone is installing to an old Windows system.

  Soren

Jun 23, 2025 at 00:44 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)


In reply to Re: Win32::Netsh tests repaired (-: by Intrepid
in thread Win32::Netsh tests repaired (-: by Intrepid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.